Skip to content

Commit b105495

Browse files
luizhf42gustavosbarreto
authored andcommitted
refactor(ui): use BaseDialog @close event in Firewall components
1 parent 5814194 commit b105495

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/components/firewall/FirewallRuleAdd.vue

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

22-
<BaseDialog v-model="showDialog" transition="dialog-bottom-transition">
22+
<BaseDialog v-model="showDialog" @close="close" transition="dialog-bottom-transition">
2323
<v-card class="bg-v-theme-surface">
2424
<v-card-title class="text-h5 pa-3 bg-primary" data-test="firewall-rule-title">
2525
New Firewall Rule

ui/src/components/firewall/FirewallRuleEdit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</div>
1818
</v-list-item>
1919

20-
<BaseDialog v-model="showDialog" transition="dialog-bottom-transition">
20+
<BaseDialog v-model="showDialog" @close="close" transition="dialog-bottom-transition">
2121
<v-card class="bg-v-theme-surface">
2222
<v-card-title class="text-h5 pa-3 bg-primary" data-test="firewall-edit-rule-title">
2323
Edit Firewall Rule

0 commit comments

Comments
 (0)