diff options
Diffstat (limited to 'src/state/models/ui/my-feeds.ts')
-rw-r--r-- | src/state/models/ui/my-feeds.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/state/models/ui/my-feeds.ts b/src/state/models/ui/my-feeds.ts index 58f2e7f65..ade686338 100644 --- a/src/state/models/ui/my-feeds.ts +++ b/src/state/models/ui/my-feeds.ts @@ -77,6 +77,11 @@ export class MyFeedsUIModel { } } + clear() { + this.saved.clear() + this.discovery.clear() + } + registerListeners() { const dispose1 = reaction( () => this.rootStore.preferences.savedFeeds, @@ -107,7 +112,7 @@ export class MyFeedsUIModel { _reactKey: '__saved_feeds_header__', type: 'saved-feeds-header', }) - if (this.saved.isLoading) { + if (this.saved.isLoading && !this.saved.hasContent) { items.push({ _reactKey: '__saved_feeds_loading__', type: 'saved-feeds-loading', |