diff --git a/components/status-dropdown/dropdown-manager.ts b/components/status-dropdown/dropdown-manager.ts index d99e010..618aa59 100644 --- a/components/status-dropdown/dropdown-manager.ts +++ b/components/status-dropdown/dropdown-manager.ts @@ -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,