console: remove time-trigger counter card from dashboard
This commit is contained in:
@@ -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 || {};
|
||||
|
||||
Reference in New Issue
Block a user