Make app title configurable

Issue #123
This commit is contained in:
N-Pex 2021-05-19 13:22:28 +02:00
parent 5276a46afa
commit 3c60ad4f14
3 changed files with 15 additions and 4 deletions

View file

@ -7,6 +7,8 @@
</template>
<script>
import config from "./assets/config";
export default {
name: "App",
mounted() {
@ -31,7 +33,7 @@ export default {
return this.$store.state.auth.user;
},
title() {
var title = "Keanu Weblite";
var title = config.appName;
if (this.$matrix.notificationCount > 0) {
title += " [" + this.$matrix.notificationCount + "]";
}