Only show following nextcloud if account is already loaded

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/264/head
Julius Härtl 2019-01-03 00:16:34 +01:00
rodzic 6afde12932
commit fc8d0f7ab7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4C614C6ED2CDE6DF
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -129,6 +129,9 @@ export default {
return this.$store.getters.getServerData.firstrun && !this.infoHidden
},
isFollowingNextcloudAccount() {
if (!this.$store.getters.accountLoaded(this.nextcloudAccount)) {
return true
}
return this.$store.getters.isFollowingUser(this.nextcloudAccount)
}
},