Registration and activation

This commit is contained in:
Torsten Schulz
2024-07-20 20:43:18 +02:00
parent 3880a265eb
commit bbf4a2deb3
51 changed files with 3016 additions and 69 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div id="app">
<AppHeader />
<AppNavigation v-if="isLoggedIn" />
<AppNavigation v-if="isLoggedIn && user.active" />
<AppContent />
<AppFooter />
</div>
@@ -20,14 +20,18 @@ export default {
document.title = 'yourPart';
},
computed: {
...mapGetters(['isLoggedIn'])
...mapGetters(['isLoggedIn', 'user'])
},
components: {
AppHeader,
AppNavigation,
AppContent,
AppFooter
}
},
created() {
this.$store.dispatch('loadLoginState');
this.$i18n.locale = this.$store.getters.language;
},
};
</script>
@@ -37,5 +41,4 @@ export default {
flex-direction: column;
height: 100%;
}
</style>