dictionary descriptions saved to app

This commit is contained in:
Jan Prochazka
2022-01-29 14:15:39 +01:00
parent ae861ef1ae
commit 9a486c47b0
13 changed files with 180 additions and 100 deletions

View File

@@ -15,6 +15,7 @@
import { subscribeConnectionPingers } from './utility/connectionsPinger';
import { subscribePermissionCompiler } from './utility/hasPermission';
import { apiCall } from './utility/api';
import { getUsedApps } from './utility/metadataLoaders';
let loadedApi = false;
@@ -30,7 +31,8 @@
const settings = await apiCall('config/get-settings');
const connections = await apiCall('connections/list');
const config = await apiCall('config/get');
loadedApi = settings && connections && config;
const apps = await getUsedApps();
loadedApi = settings && connections && config && apps;
if (loadedApi) {
subscribeApiDependendStores();