From 54f40f751f70bf16c1a9666ec8b8c13365e66f97 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 2 Dec 2024 14:12:57 -0700 Subject: [PATCH] Clearing student and app on documentation visit --- src/web/src/components/application/Documentation.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/web/src/components/application/Documentation.vue b/src/web/src/components/application/Documentation.vue index 6f4982f0..1e29a106 100644 --- a/src/web/src/components/application/Documentation.vue +++ b/src/web/src/components/application/Documentation.vue @@ -308,6 +308,9 @@ export default { this.loadRequirementTypes(); this.applicationId = this.$route.params.id; let storeApp = store.getters.selectedApplication; + + await store.dispatch("clearApplication"); + await store.dispatch("clearStudent"); if (this.$route.path.indexOf("/application/") >= 0) { await store.dispatch("loadApplication", this.applicationId);