mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 08:34:46 +08:00
Grammar fixed
This commit is contained in:
@@ -3,7 +3,7 @@ import Entity from "./Entity"
|
||||
export default class ObjectReferenceEntity extends Entity {
|
||||
|
||||
static attributes = {
|
||||
type: "None",
|
||||
type: "",
|
||||
path: ""
|
||||
}
|
||||
|
||||
@@ -12,6 +12,10 @@ export default class ObjectReferenceEntity extends Entity {
|
||||
}
|
||||
|
||||
toString() {
|
||||
return this.type + (this.path ? `'"${this.path}"'` : "")
|
||||
return (this.type ?? "") + (
|
||||
this.path
|
||||
? this.type ? `'"${this.path}"'` : this.path
|
||||
: ""
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user