Link icon fixing, name refactoring

This commit is contained in:
barsdeveloper
2022-11-21 11:45:43 +01:00
parent 401ce75fdc
commit a7468f4cf0
37 changed files with 239 additions and 151 deletions

View File

@@ -7,13 +7,13 @@ export default class ObjectReferenceEntity extends IEntity {
path: String,
}
constructor(options = {}) {
if (options.constructor !== Object) {
options = {
path: options
constructor(values = {}) {
if (values.constructor !== Object) {
values = {
path: values
}
}
super(options)
super(values)
/** @type {String} */ this.type
/** @type {String} */ this.path
}