fix: multiple status change single status check

This commit is contained in:
Aleix Soler 2025-05-24 19:06:05 +02:00
parent 0bd515ac61
commit 853212e2ed

View file

@ -56,7 +56,7 @@ export class DropdownManager {
);
// If ALL have the status, remove it. Otherwise, add it
const operation = filesWithStatus.length === files.length ? 'remove' : 'add';
let operation = filesWithStatus.length === files.length ? 'remove' : (!this.settings.useMultipleStatuses) ? 'set':'add';
await this.statusService.handleStatusChange({
files: targetFile,