Commit 62bb26b4 authored by Kemm23's avatar Kemm23

complete UI

parent a802f028
......@@ -125,7 +125,7 @@
<v-col cols="12">
<v-select
v-model="eParentId"
:items="categories.filter(category => category.parent_id === null)"
:items="categories.filter(category => category.parent_id === null && category.id !== eID)"
item-text="name"
item-value="id"
label="Parent"
......@@ -459,7 +459,8 @@ export default {
this.eParentId = item.parent_id
this.eImage = item.images
this.editedIndex = this.categories.indexOf(item)
console.log(item)
console.log(this.eID)
console.log(this.categories)
},
updateCategory (userID) {
const self = this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment