Fixes wrong consult for terms API without taxonomy defined. #281.
This commit is contained in:
parent
b075a1854a
commit
207aabdeb9
|
@ -447,7 +447,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (this.taxonomyId !== String) {
|
if (this.taxonomyId != undefined && this.taxonomyId !== String) {
|
||||||
this.loadTerms(0);
|
this.loadTerms(0);
|
||||||
}
|
}
|
||||||
this.$root.$on('onChildTermDeleted', this.eventOnChildTermDeleted);
|
this.$root.$on('onChildTermDeleted', this.eventOnChildTermDeleted);
|
||||||
|
|
Loading…
Reference in New Issue