mirror of
https://github.com/binxly/Atomizer.git
synced 2026-07-22 05:31:35 +00:00
Merge pull request #7 from x3c3/fix/duplicate-title-bug
Fix critical bug: usedTitles Set never populated
This commit is contained in:
commit
2b5d2a72bf
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ export class NotesManager {
|
|||
title = `${baseTitle} ${counter}`;
|
||||
counter++;
|
||||
}
|
||||
this.usedTitles.add(title);
|
||||
return normalizePath(title);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue