Skip to content

Commit

Permalink
Clearing student and app on documentation visit
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed Dec 2, 2024
1 parent 2afe3ac commit 54f40f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/web/src/components/application/Documentation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 54f40f7

Please sign in to comment.