File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 icon
3737 :disabled =" Boolean(syncing) || Boolean(scheduled) || !currentAccount"
3838 @click =" onTriggerSync" >
39- <v-icon :class =" {'sync--active': Boolean(syncing)}" >
39+ <v-icon :class =" { 'sync--active': Boolean(syncing) }" >
4040 {{ scheduled ? 'mdi-timer-sync-outline' : 'mdi-sync' }}
4141 </v-icon >
4242 </v-btn >
5656 </v-btn >
5757 <v-btn
5858 icon
59- @click =" showSearch = !showSearch; searchQuery = ''" >
59+ @click ="
60+ showSearch = !showSearch
61+ searchQuery = ''
62+ " >
6063 <v-icon >mdi-magnify</v-icon >
6164 </v-btn >
6265 <v-menu
115118 fixed
116119 :value =" syncProgress * 100 || 0"
117120 color =" blue darken-1" />
118- <v-card >
121+ <v-card v-if = " breadcrumbs.length > 1 || numAccounts > 1 " >
119122 <Breadcrumbs
120123 v-if =" breadcrumbs.length > 1"
121124 :tree =" tree"
@@ -365,6 +368,9 @@ export default {
365368 ! this .tree
366369 )
367370 },
371+ numAccounts () {
372+ return Object .keys (this .$store .state .accounts ).length
373+ },
368374 tree () {
369375 return this .$store .state .tree
370376 },
You can’t perform that action at this time.
0 commit comments