remove modals stack (#12423)

This commit is contained in:
Matteo Pagliazzi
2020-08-10 18:38:24 +02:00
committed by GitHub
parent 8c3a9c6dbc
commit d7ee1ec4f4
9 changed files with 26 additions and 128 deletions

View File

@@ -644,8 +644,8 @@ export default {
await this.reload();
// close members modal if the Private Messages page is opened in an existing tab
this.$root.$emit('habitica::dismiss-modal', 'profile');
this.$root.$emit('habitica::dismiss-modal', 'members-modal');
this.$root.$emit('bv::hide::modal', 'profile');
this.$root.$emit('bv::hide::modal', 'members-modal');
const data = this.$store.state.privateMessageOptions;
if (data && data.userIdToMessage) {