Fixes wrong consult for terms API without taxonomy defined. #281.

This commit is contained in:
Mateus Machado Luna 2019-07-31 14:51:24 -03:00
parent b075a1854a
commit 207aabdeb9
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ export default {
}
},
created() {
if (this.taxonomyId !== String) {
if (this.taxonomyId != undefined && this.taxonomyId !== String) {
this.loadTerms(0);
}
this.$root.$on('onChildTermDeleted', this.eventOnChildTermDeleted);