7863-devToTest_2434 #613

Merged
alexm merged 131 commits from 7863-devToTest_2434 into test 2024-08-13 06:58:13 +00:00
1 changed files with 3 additions and 5 deletions
Showing only changes of commit 9e0fba49ea - Show all commits

View File

@ -85,7 +85,7 @@ const fetchMailAliases = async () => {
paginateRef.value.fetch();
};
const getAccountData = async () => {
const getAccountData = async (reload = true) => {
loading.value = true;
hasAccount.value = await fetchAccountExistence();
if (!hasAccount.value) {
@ -93,7 +93,7 @@ const getAccountData = async () => {
store.data = [];
return;
}
await fetchMailAliases();
reload && (await fetchMailAliases());
loading.value = false;
};
@ -102,13 +102,11 @@ const openCreateMailAliasForm = () => createMailAliasDialogRef.value.show();
watch(
() => route.params.id,
() => {
store.url = urlPath;
store.filter = filter.value;
getAccountData();
}
);
onMounted(async () => await getAccountData());
onMounted(async () => await getAccountData(false));
</script>
<template>