fix(web): select all button displays incorrectly (#17305)

* fix(web): select all show incorrectly

* fix: lint

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Daimolean
2025-04-02 03:00:48 +08:00
committed by GitHub
parent 946507231d
commit e4b0c00885
3 changed files with 39 additions and 9 deletions

View File

@@ -486,6 +486,10 @@ export const selectAllAssets = async (assetStore: AssetStore, assetInteraction:
break; // Cancelled
}
assetInteraction.selectAssets(assetsSnapshot(bucket.getAssets()));
for (const dateGroup of bucket.dateGroups) {
assetInteraction.addGroupToMultiselectGroup(dateGroup.groupTitle);
}
}
} catch (error) {
const $t = get(t);