Loading indicator

Issue #63.
This commit is contained in:
N-Pex 2021-02-17 17:12:16 +01:00
parent 8e74880ad1
commit 3aef5b6b3e

View file

@ -238,6 +238,18 @@
</v-card-actions>
</v-card>
</v-dialog>
<!-- Loading indicator -->
<v-container fluid fill-height style="position: absolute" v-if="!initialLoadDone">
<v-row align="center" justify="center">
<v-col class="text-center">
<v-progress-circular
indeterminate
color="primary"
></v-progress-circular>
</v-col>
</v-row>
</v-container>
</div>
</template>
@ -379,6 +391,9 @@ export default {
return this.$matrix.currentRoom;
},
roomId() {
if (!this.$matrix.ready) {
return null; // Not ready yet...
}
if (this.room) {
return this.room.roomId;
}