mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
core: fix note count incorrect
This commit is contained in:
committed by
Abdullah Atta
parent
c85242a610
commit
b3b7bd44ef
@@ -433,7 +433,7 @@ export default class Notes extends Collection {
|
||||
.replace(DATE_REGEX, date)
|
||||
.replace(TIME_REGEX, time)
|
||||
.replace(HEADLINE_REGEX, headline)
|
||||
.replace(COUNT_REGEX, this.all.length);
|
||||
.replace(COUNT_REGEX, this.all.length + 1);
|
||||
}
|
||||
|
||||
_getNoteTitle(note, oldNote, headline) {
|
||||
|
||||
Reference in New Issue
Block a user