mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
remove modals stack (#12423)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user