Skip to content

Commit 6efea58

Browse files
luizhf42gustavosbarreto
authored andcommitted
refactor(ui): use BaseDialog @close event in WebEndpointCreate
1 parent 49ca2e5 commit 6efea58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/WebEndpoints/WebEndpointCreate.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<BaseDialog v-model="showDialog" @click:outside="close()">
2+
<BaseDialog v-model="showDialog" @close="close">
33
<v-card data-test="tunnel-create-dialog" class="bg-v-theme-surface">
44
<v-card-title class="bg-primary" data-test="create-dialog-title">
55
Create Device Web Endpoint
@@ -111,7 +111,7 @@
111111
</v-container>
112112
<v-card-actions>
113113
<v-spacer />
114-
<v-btn data-test="close-btn" @click="close()"> Close </v-btn>
114+
<v-btn data-test="close-btn" @click="close"> Close </v-btn>
115115
<v-btn :disabled="hasErrors" color="primary" data-test="create-tunnel-btn" @click="addWebEndpoint()">
116116
Create Web Endpoint
117117
</v-btn>

0 commit comments

Comments
 (0)