frontend function consolidation part 2

This commit is contained in:
Peter Papp
2021-03-16 11:53:19 +01:00
parent adbe35e8b5
commit f0e9c80572
17 changed files with 368 additions and 66 deletions
@@ -100,10 +100,10 @@ export default {
name: this.pickedItem.name,
}
if (this.folderIcon.emoji)
if (this.folderIcon && this.folderIcon.emoji)
item['emoji'] = this.folderIcon.emoji
if (this.folderIcon.color)
if (this.folderIcon && this.folderIcon.color)
item['color'] = this.folderIcon.color
// Rename item request