Skip to content

Commit

Permalink
fix(messagelist): Show correct folder contents after Drafts view
Browse files Browse the repository at this point in the history
  • Loading branch information
castaway committed Nov 26, 2024
1 parent 2805187 commit 47aa060
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,11 @@ export class AppComponent implements OnInit, AfterViewInit, CanvasTableSelectLis

this.messagelistservice.messagesInViewSubject.subscribe(res => {
this.messagelist = res;
if (!this.showingSearchResults && !this.showingWebSocketSearchResults
&& res) {
if (
(
(!this.showingSearchResults && !this.showingWebSocketSearchResults)
|| this.messagelistservice.unindexedFolders.includes(this.selectedFolder)
) && res) {
this.setMessageDisplay('messagelist', this.messagelist);
if (this.jumpToFragment && res.length > 0) {
this.selectMessageFromFragment(this.fragment);
Expand Down

0 comments on commit 47aa060

Please sign in to comment.