Allow logo and accentColor to be set in config/runtimeConfig
This commit is contained in:
parent
6cd47a88c0
commit
61720b8440
9 changed files with 71 additions and 27 deletions
|
|
@ -145,10 +145,10 @@ export default {
|
|||
},
|
||||
|
||||
favicon() {
|
||||
var favicon = 'favicon.ico';
|
||||
var favicon = this.$config.logo ? this.$config.logo : 'favicon.ico';
|
||||
if (this.$route.meta.includeFavicon) {
|
||||
if (this.$matrix.currentRoom) {
|
||||
favicon = this.$matrix.currentRoom.avatar || 'favicon.ico';
|
||||
favicon = this.$matrix.currentRoom.avatar || favicon;
|
||||
}
|
||||
}
|
||||
return favicon;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue