mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix style for tree node
This commit is contained in:
parent
8ee664e81e
commit
1a2e70f5b0
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="tree-node">
|
||||
<div class="tree-label px-3 py-2" @click.self="toggleChildren">
|
||||
<div @click="toggleChildren">
|
||||
<feather-icon :name="iconName" v-show="iconName" />
|
||||
<div class="d-flex align-items-center" @click="toggleChildren">
|
||||
<feather-icon class="mr-1" :name="iconName" v-show="iconName" />
|
||||
<span>{{ label }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -43,9 +43,9 @@ const TreeNode = {
|
||||
},
|
||||
async getChildren() {
|
||||
if (this.children) return;
|
||||
|
||||
|
||||
this.children = [];
|
||||
|
||||
|
||||
let filters = {
|
||||
[this.settings.parentField]: this.parentValue
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user