diff --git a/web/js/app.js b/web/js/app.js index b5025f7..552c249 100644 --- a/web/js/app.js +++ b/web/js/app.js @@ -63,12 +63,10 @@ function switchView(view) { startLogs(); if (!_configLoaded) { _configLoaded = true; - withStatus(Promise.all([ - loadSources(), - loadEquipments(), - loadEvents(), - loadPoints(), - ])); + withStatus((async () => { + await Promise.all([loadSources(), loadEquipments(), loadEvents()]); + await loadPoints(); + })()); } } else { stopLogs();