Skip to content

Commit

Permalink
fix: Send event when drawer closed by confirm dialog - MEED-7167 - Me…
Browse files Browse the repository at this point in the history
…eds-io/MIPs#140 (#3949)

This PR will Send event when drawer closed by confirm dialog.
  • Loading branch information
AzmiTouil authored Jul 4, 2024
1 parent 6fc5fc0 commit 1a89ea9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
:ok-label="confirmCloseLabels.ok"
:cancel-label="confirmCloseLabels.cancel"
persistent
@ok="closeEffectively" />
@ok="confirmCloseDrawer" />
</v-layout>
</div>
</v-navigation-drawer>
Expand Down Expand Up @@ -318,6 +318,10 @@ export default {
closeEffectively() {
this.drawer = false;
},
confirmCloseDrawer() {
this.closeEffectively();
this.$emit('confirm-close');
},
startLoading() {
this.drawerLoading = true;
},
Expand Down

0 comments on commit 1a89ea9

Please sign in to comment.