mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
fix: clear status dont remove the fronttmater tag
This commit is contained in:
parent
fd1e4e6176
commit
a2a4a796dc
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ export class NoteStatusService extends BaseNoteStatusService {
|
|||
this.file,
|
||||
(frontmatter) => {
|
||||
if (frontmatterTagName in frontmatter) {
|
||||
delete frontmatter[frontmatterTagName];
|
||||
frontmatter[frontmatterTagName] = [];
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue