fix: route push fixes
This commit is contained in:
@@ -97,8 +97,8 @@ export default {
|
||||
methods: {
|
||||
redirectToInbox() {
|
||||
if (!this.conversationId) return;
|
||||
if (this.$route.name === 'inbox') return;
|
||||
this.$router.push({ name: 'inbox' });
|
||||
if (this.$route.name === 'inbox-view') return;
|
||||
this.$router.push({ name: 'inbox-view' });
|
||||
},
|
||||
loadMoreNotifications() {
|
||||
if (this.uiFlags.isAllNotificationsLoaded) return;
|
||||
|
||||
@@ -132,7 +132,7 @@ export default {
|
||||
.then(() => {
|
||||
this.showAlert(this.$t('INBOX.ALERTS.DELETE'));
|
||||
});
|
||||
this.$router.push({ name: 'inbox' });
|
||||
this.$router.push({ name: 'inbox-view' });
|
||||
},
|
||||
onClickNext() {
|
||||
this.$emit('next');
|
||||
|
||||
Reference in New Issue
Block a user