Initial work on moving domain view to vue

This commit is contained in:
Johannes Zellner
2025-01-27 22:20:26 +01:00
parent 42ce3cb405
commit 70b15d128a
12 changed files with 474 additions and 13 deletions
@@ -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