diff --git a/frontend/vue/components/Account.vue b/frontend/vue/components/Account.vue index 308206d1e..7bf4da736 100644 --- a/frontend/vue/components/Account.vue +++ b/frontend/vue/components/Account.vue @@ -100,7 +100,7 @@ - @@ -185,7 +185,7 @@ const apiKeyFields = [ } ]; -const datatable = ref(); // DataTable +const $dataTable = ref(); // DataTable const {wrapWithLoading, notifySuccess} = useNotify(); const {axios} = useAxios(); @@ -217,7 +217,7 @@ const relist = () => { securityLoading.value = false; }); - datatable.value?.relist(); + $dataTable.value?.relist(); }; onMounted(relist); @@ -226,22 +226,22 @@ const reload = () => { location.reload(); }; -const editmodal = ref(); // EditModal +const $editModal = ref(); // EditModal const doEditProfile = () => { - editmodal.value?.open(); + $editModal.value?.open(); }; -const changepasswordmodal = ref(); // ChangePasswordModal +const $changePasswordModal = ref(); // ChangePasswordModal const doChangePassword = () => { - changepasswordmodal.value?.open(); + $changePasswordModal.value?.open(); }; -const twofactormodal = ref(); // TwoFactorModal +const $twoFactorModal = ref(); // TwoFactorModal const enableTwoFactor = () => { - twofactormodal.value?.open(); + $twoFactorModal.value?.open(); }; const {confirmDelete} = useSweetAlert(); @@ -261,10 +261,10 @@ const disableTwoFactor = () => { }); }; -const apikeymodal = ref(); // ApiKeyModal +const $apiKeyModal = ref(); // ApiKeyModal const createApiKey = () => { - apikeymodal.value?.create(); + $apiKeyModal.value?.create(); }; const deleteApiKey = (url) => { diff --git a/frontend/vue/components/Account/ApiKeyModal.vue b/frontend/vue/components/Account/ApiKeyModal.vue index 1652626a2..2d83ae18b 100644 --- a/frontend/vue/components/Account/ApiKeyModal.vue +++ b/frontend/vue/components/Account/ApiKeyModal.vue @@ -1,5 +1,6 @@