Initial work on moving domain view to vue
This commit is contained in:
@@ -122,8 +122,12 @@ function onClose() {
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
domains.value = await domainsModel.list();
|
||||
const [error, result] = await dashboardModel.getConfig();
|
||||
let [error, result] = await domainsModel.list();
|
||||
if (error) return console.error(error);
|
||||
|
||||
domains.value = result;
|
||||
|
||||
[error, result] = await dashboardModel.getConfig();
|
||||
if (error) return console.error(error);
|
||||
|
||||
// preselect with dashboard domain
|
||||
|
||||
Reference in New Issue
Block a user