File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 11<template >
2- <BaseDialog v-model =" showDialog" @click:outside =" close" >
2+ <BaseDialog v-model =" showDialog" @close =" close" >
33 <v-card data-test =" password-change-card" class =" bg-v-theme-surface" >
44 <v-card-title class =" text-h5 pa-4 bg-primary" data-test =" title" >
55 Change Password
Original file line number Diff line number Diff line change 22 <BaseDialog
33 v-model =" showDialog"
44 transition =" dialog-bottom-transition"
5- @click:outside =" close"
6- @keydown.esc =" close"
75 >
86 <v-card color =" background" data-test =" card-dialog" >
97 <v-container >
3937 </v-col >
4038 </v-row >
4139 <v-card-actions data-test =" card-actions" >
42- <v-btn @click =" close() " class =" mt-4" variant =" text" data-test =" close-btn" >
40+ <v-btn @click =" showDialog = false " class =" mt-4" variant =" text" data-test =" close-btn" >
4341 Close
4442 </v-btn >
4543 <v-spacer />
@@ -63,10 +61,6 @@ import BaseDialog from "../BaseDialog.vue";
6361
6462const showDialog = defineModel ({ default: false });
6563
66- const close = () => {
67- showDialog .value = false ;
68- };
69-
7064defineExpose ({ showDialog });
7165 </script >
7266
Original file line number Diff line number Diff line change 33 v-model =" showDialog"
44 threshold =" md"
55 transition =" dialog-bottom-transition"
6- @click:outside =" close"
7- @keydown.esc =" close"
6+ @close =" close"
87 >
98 <v-card color =" background" data-test =" card-dialog" >
109 <v-container class =" px-6" >
You can’t perform that action at this time.
0 commit comments