theprogrammablemind_4wp 7.5.8-beta.27 → 7.5.8-beta.28
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/config.js +2 -1
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -666,6 +666,7 @@ class Config {
|
|
666
666
|
addOperator: (...args) => this.addOperator(...args, uuid),
|
667
667
|
addPriorities: (...args) => this.addPriorities(...args),
|
668
668
|
addSemantic: (...args) => this.addSemantic(...args, uuid, config.name),
|
669
|
+
removeSemantic: (...args) => this.removeSemantic(...args, uuid, config.name),
|
669
670
|
addWord: (...args) => this.addWord(...args, uuid),
|
670
671
|
|
671
672
|
getHierarchy: (...args) => this.config.hierarchy,
|
@@ -1167,7 +1168,7 @@ class Config {
|
|
1167
1168
|
}
|
1168
1169
|
|
1169
1170
|
const semantics = this.config.semantics
|
1170
|
-
Object.assign(semantic, { uuid: uuid || this._uuid, km: name || this.name, index: semantics.length, id: uuidv4() })
|
1171
|
+
Object.assign(semantic, { uuid: uuid || semantic.uuid || this._uuid, km: name || this.name, index: semantics.length, id: semantic.id || uuidv4() })
|
1171
1172
|
semantics.unshift(semantic)
|
1172
1173
|
}
|
1173
1174
|
|