Skip to content

Commit 6cfffee

Browse files
luizhf42gustavosbarreto
authored andcommitted
refactor(ui): use BaseDialog @close event in Team components
1 parent b051b8b commit 6cfffee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/components/Team/ApiKeys/ApiKeyGenerate.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<span> You don't have this kind of authorization. </span>
1717
</v-tooltip>
1818

19-
<BaseDialog v-model="showDialog" @update:modelValue="(value: boolean) => !value && close()">
19+
<BaseDialog v-model="showDialog" @close="close">
2020
<v-card data-test="api-key-generate-dialog" class="bg-v-theme-surface">
2121
<v-card-title class="bg-primary">New Api Key</v-card-title>
2222

ui/src/components/Team/Member/MemberInvite.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<BaseDialog
2424
v-model="showDialog"
25-
@click:outside="close()"
25+
@close="close"
2626
>
2727
<v-card
2828
data-test="namespace-new-member-dialog"

0 commit comments

Comments
 (0)