Skip to content

Commit

Permalink
Remove snackbar query support
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVelezLl committed Apr 19, 2024
1 parent 626f825 commit 0c08589
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,6 @@
});
},
},
beforeRouteUpdate(to, from, next) {
// Handle snackbar query param and show message - particularly for when closing the side panel
// and saying "Action Succeeded"
if (to.query.snackbar) {
this.$store.dispatch('createSnackbar', to.query.snackbar).then(() => {
delete to.query.snackbar;
next(to);
});
}
next();
},
mounted() {
this.$store.dispatch('notLoading');
},
Expand Down

0 comments on commit 0c08589

Please sign in to comment.