mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix: duplicate colors and tags on sync
This commit is contained in:
@@ -41,9 +41,9 @@ class Merger {
|
||||
|
||||
async _mergeArray(array, get, set) {
|
||||
if (!array) return;
|
||||
return Promise.all(
|
||||
array.map(async (item) => await this._mergeItem(item, get, set))
|
||||
);
|
||||
for (let item of array) {
|
||||
await this._mergeItem(item, get, set);
|
||||
}
|
||||
}
|
||||
|
||||
async _mergeItemWithConflicts(remoteItem, get, add, resolve) {
|
||||
|
||||
Reference in New Issue
Block a user