fix: wait for CompletedFullSync before showing "No Notes."

This commit is contained in:
Baptiste Grob
2020-09-23 13:41:26 +02:00
parent f819513e97
commit 5c986338a8
2 changed files with 10 additions and 6 deletions

View File

@@ -95,8 +95,11 @@
label="'Date'"
)
p.empty-notes-list.faded(
ng-if="self.state.localDataLoaded && !self.state.renderedNotes.length"
ng-if="self.state.completedFullSync && !self.state.renderedNotes.length"
) No notes.
p.empty-notes-list.faded(
ng-if="!self.state.completedFullSync && !self.state.renderedNotes.length"
) Loading notes…
.scrollable(ng-if="self.state.renderedNotes.length")
#notes-scrollable.infinite-scroll(
can-load='true',