We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833f6e7 commit 40093a1Copy full SHA for 40093a1
frontend/src/components/collaborator/PromptCollaboratorDeactivate.vue
@@ -63,9 +63,13 @@ export default {
63
.catch((e) => this.$toast.error(errorToMultiLineToast(e)))
64
65
// User left camp -> navigate to camp-overview
66
- promise.then(
67
- () => this.isOwnCampCollaboration && this.$router.push({ name: 'camps' })
68
- )
+ promise.then(() => {
+ if (!this.isOwnCampCollaboration) {
+ return
69
+ }
70
+ this.api.get().camps().$reload()
71
+ this.$router.push({ name: 'camps' })
72
+ })
73
74
return promise
75
},
0 commit comments