diff --git a/packages/nc-gui/components/account/Token.vue b/packages/nc-gui/components/account/Token.vue index 2f024157a6..a230bb375e 100644 --- a/packages/nc-gui/components/account/Token.vue +++ b/packages/nc-gui/components/account/Token.vue @@ -137,7 +137,7 @@ const triggerDeleteModal = (tokenToDelete: string, tokenDescription: string) => isModalOpen.value = true } -const descriptionInput: VNodeRef = (el) => +const selectInputOnMount: VNodeRef = (el) => selectedTokenData.value.description === defaultTokenName && (el as HTMLInputElement)?.select() const errorMessage = computed(() => { @@ -190,9 +190,9 @@ const handleCancel = () => {