Database initialization wizard

This commit is contained in:
Zaid Abdulla committed 2019-07-11 17:47:36 -07:00
1 parent b51c97e97a
commit 6cb0d0449b
10 files changed
+613 -19

No files matched your search

+1 -10
View File
@@ -340,7 +340,7 @@ async function fetchConfig(): Promise<[{}, {}]> {
filters: {},
device: {},
index: {},
overview: { charts: {}, groups: {} }
overview: {}
};
const _config = {};
@@ -362,15 +362,6 @@ async function fetchConfig(): Promise<[{}, {}]> {
}
}
if (!Object.keys(ui["index"]).length) {
ui["index"] = {
"0": {
label: "ID",
parameter: ["PARAM", "DeviceID.ID"]
}
};
}
return [_config, ui];
}