Remove room creation option(s) if hide_add_room_on_home is set
This commit is contained in:
parent
b5678a04e4
commit
86d5f0c250
6 changed files with 22 additions and 6 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<v-container
|
||||
fluid
|
||||
fill-height
|
||||
v-if="loading"
|
||||
v-if="showLoadingScreen"
|
||||
class="loading-container"
|
||||
>
|
||||
<v-row align="center" justify="center">
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<v-skeleton-loader
|
||||
type="list-item-avatar-two-line, divider, list-item-three-line, card-heading"
|
||||
v-if="loading"
|
||||
v-if="showLoadingScreen"
|
||||
></v-skeleton-loader>
|
||||
</v-main>
|
||||
</v-app>
|
||||
|
|
@ -132,6 +132,9 @@ export default {
|
|||
},
|
||||
},
|
||||
computed: {
|
||||
showLoadingScreen() {
|
||||
return this.loading || !(this.$config.loaded);
|
||||
},
|
||||
notificationCount,
|
||||
currentUser() {
|
||||
return this.$store.state.auth.user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue