mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
fix: multiple status change single status check
This commit is contained in:
parent
0bd515ac61
commit
853212e2ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue