You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
All: Fixes #10189: After deleting the last note from the conflicts folder, the application state is invalid
This commit is contained in:
@@ -575,10 +575,10 @@ export default class BaseApplication {
|
||||
if (doRefreshFolders) {
|
||||
if (doRefreshFolders === 'now') {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
await refreshFolders((action: any) => this.dispatch(action));
|
||||
await refreshFolders((action: any) => this.dispatch(action), newState.selectedFolderId);
|
||||
} else {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
await scheduleRefreshFolders((action: any) => this.dispatch(action));
|
||||
await scheduleRefreshFolders((action: any) => this.dispatch(action), newState.selectedFolderId);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user