Skip to content
Snippets Groups Projects
Verified Commit e0cfa85b authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Reintroduce contentLoading loginc for legacy view

parent 8235063a
No related branches found
No related tags found
1 merge request!1123Resolve "Finalise Vuetify app as SPA"
Pipeline #108178 failed
......@@ -75,8 +75,15 @@ export default {
// Subscribe to message channel to receive height from iframe
window.addEventListener("message", this.receiveMessage);
},
watch: {
$route() {
// Show loading animation once route changes
this.$root.contentLoading = true;
},
},
beforeDestroy() {
window.removeEventListener("message", this.receiveMessage);
this.$root.contentLoading = false;
},
name: "LegacyBaseTemplate",
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment