import/export
This commit is contained in:
@@ -60,6 +60,10 @@ class Item {
|
||||
});
|
||||
}
|
||||
|
||||
mergeMetadataFromItem(item) {
|
||||
_.merge(this, _.omit(item, ["content"]));
|
||||
}
|
||||
|
||||
updateReferencesLocalMapping() {
|
||||
// should be overriden to manage local properties
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@ class Tag extends Item {
|
||||
this.notes = [];
|
||||
}
|
||||
|
||||
if(!this.content.name) {
|
||||
this.content.name = "";
|
||||
if(!this.content.title) {
|
||||
this.content.title = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user