diff --git a/packages/nc-gui-v2/components/dashboard/settings/userManagement/UsersModal.vue b/packages/nc-gui-v2/components/dashboard/settings/userManagement/UsersModal.vue index 5ecdf9dfeb..85a83c5c3e 100644 --- a/packages/nc-gui-v2/components/dashboard/settings/userManagement/UsersModal.vue +++ b/packages/nc-gui-v2/components/dashboard/settings/userManagement/UsersModal.vue @@ -12,9 +12,6 @@ import { projectRoleTagColors } from '~/utils/userUtils' import { copyTextToClipboard } from '~/utils/miscUtils' import { extractSdkResponseErrorMsg } from '~~/utils/errorUtils' import { isEmail } from '~~/utils/validation' -const { show, selectedUser } = defineProps() -const emits = defineEmits(['closed']) -const toast = useToast() interface Props { show: boolean @@ -27,6 +24,10 @@ interface Users { invitationToken?: string } +const { show, selectedUser } = defineProps() +const emits = defineEmits(['closed']) +const toast = useToast() + const { project } = useProject() const { $api, $e } = useNuxtApp()