fix(test): short circuit this.

This commit is contained in:
Kalista Payne
2024-09-18 15:07:36 -05:00
committed by Kalista Payne
parent 526193ee6c
commit 5469a5c5c3
@@ -529,7 +529,7 @@ export default {
// List of prompts for user on changes.
// Sounds like we may need a refactor here, but it is clean for now
if (!this.user.flags.welcomed && !this.$route.name.includes('groupPlan')) {
if (!this.user.flags.welcomed && !this.$route?.name.includes('groupPlan')) {
if (this.$store.state.avatarEditorOptions) {
this.$store.state.avatarEditorOptions.editingUser = false;
}