mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 14:09:34 +01:00
feat: clone all notes before grouping
This commit is contained in:
@@ -137,7 +137,7 @@ export default class Notes extends Collection {
|
||||
* @param {"asc"|"desc"} sort
|
||||
*/
|
||||
group(by, sort = "desc") {
|
||||
let notes = this.all;
|
||||
let notes = qclone(this.all);
|
||||
|
||||
switch (by) {
|
||||
case "abc":
|
||||
|
||||
Reference in New Issue
Block a user