parent category disabled control

This commit is contained in:
Burak Civan
2022-12-13 10:37:05 +03:00
parent a9c98c35ab
commit 0c59b219e1
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@ const app = new Vue({
form: new Form('category'),
bulk_action: new BulkAction('categories'),
categoriesBasedTypes: null,
selected_type: true
}
},
@ -51,6 +52,8 @@ const app = new Vue({
return;
}
this.selected_type = false;
this.categoriesBasedTypes = JSON.parse(this.form.categories)[event];
}
}