fix: test
This commit is contained in:
parent
da13852216
commit
13b457210e
|
@ -99,7 +99,9 @@ class LayerProxy {
|
|||
return this.instance.layers[this.index];
|
||||
}
|
||||
async load() {
|
||||
this.$$sourceJson = await this.Component.ecs.readJson(this.layer.source);
|
||||
this.$$sourceJson = this.layer.source
|
||||
? await this.Component.ecs.readJson(this.layer.source)
|
||||
: {};
|
||||
}
|
||||
get source() {
|
||||
return this.layer.source;
|
||||
|
|
Loading…
Reference in New Issue
Block a user