diff --git a/ui/src/components/business/api-key-list/EditApiKeyDrawer.vue b/ui/src/components/business/api-key-list/EditApiKeyDrawer.vue index 193bdc4f787..d6116b4a49a 100644 --- a/ui/src/components/business/api-key-list/EditApiKeyDrawer.vue +++ b/ui/src/components/business/api-key-list/EditApiKeyDrawer.vue @@ -108,10 +108,6 @@ function handleSave() { }) } -function handleBeforeClose(done: () => void) { - if (!saving.value) done() -} - function handleClosed() { apiKeyId.value = '' form.secret_key = '' @@ -128,7 +124,7 @@ defineExpose({ open })