There was an error while loading. Please reload this page.
1 parent f3f24f8 commit 23b2074Copy full SHA for 23b2074
1 file changed
src/components/CategoryEditTree.vue
@@ -17,7 +17,7 @@ div
17
span.float-right
18
b-btn.ml-1(size="sm", variant="outline-secondary", @click="showEditModal()" style="border: 0;" pill)
19
icon(name="edit")
20
- b-btn.ml-1(size="sm", variant="outline-success", @click="addSubclass(_class)" style="border: 0;" pill)
+ b-btn.ml-1(size="sm", variant="outline-success", @click="addSubclass(_class); expanded = true" style="border: 0;" pill)
21
icon(name="plus")
22
div
23
div.pa-2(v-for="child in _class.children", style="background: rgba(0, 0, 0, 0);", v-show="expanded")
0 commit comments