console: remove time-trigger counter card from dashboard

This commit is contained in:
Naeel
2026-04-27 15:15:03 +03:00
parent 862c7a771e
commit 96a02b4d72
+2 -8
View File
@@ -438,10 +438,6 @@
<div class="k">HTTP-триггеры</div>
<div id="http-count" class="v">-</div>
</div>
<div class="card">
<div class="k">Тайм-триггеры</div>
<div id="time-count" class="v">-</div>
</div>
</div>
<div class="box">
@@ -1029,12 +1025,11 @@
async function reloadAll() {
try {
const [envs, pkgs, fns, http, time] = await Promise.all([
const [envs, pkgs, fns, http] = await Promise.all([
getJSON(API_BASE + '/environments'),
getJSON(API_BASE + '/packages'),
getJSON(API_BASE + '/functions'),
getJSON(API_BASE + '/httptriggers'),
getJSON(API_BASE + '/timetriggers')
getJSON(API_BASE + '/httptriggers')
]);
S.envs = envs || [];
@@ -1045,7 +1040,6 @@
setText('pkg-count', pkgs.length || 0);
setText('fn-count', fns.length || 0);
setText('http-count', http.length || 0);
setText('time-count', time.length || 0);
const rows = (fns || []).map(function (f) {
const spec = f.spec || {};