refactor(frontend/sections): remove app.is{Xxx}View and use only app.currentSection

This commit is contained in:
Edouard Vanbelle
2026-04-15 22:18:42 +02:00
parent b1827c9f3d
commit 7bb4ed0940
4 changed files with 26 additions and 58 deletions
+2 -7
View File
@@ -12,13 +12,8 @@ export const app = {
contextMenuTargetFile: null,
selectedTargetFolderId: '',
moveDialogMode: 'file',
isFilesView: true,
isTrashView: false,
isSharedView: false,
isFavoritesView: false,
isRecentView: false,
isPhotosView: false,
currentSection: 'files',
currentSection: null, // will be defined on first call
isSearchMode: false,
shareDialogItem: null,
shareDialogItemType: null,