Fixed duplicate checkboxes

pull/41/head
cagataycivici 2019-08-07 22:31:12 +03:00
parent 932164462f
commit e82f6f490a
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<span class="p-treetable-toggler p-unselectable-text" @click="toggle" v-if="col.expander" :style="togglerStyle"> <span class="p-treetable-toggler p-unselectable-text" @click="toggle" v-if="col.expander" :style="togglerStyle">
<i :class="togglerIcon"></i> <i :class="togglerIcon"></i>
</span> </span>
<div class="p-checkbox p-treetable-checkbox p-component" @click="toggleCheckbox" v-if="checkboxSelectionMode"> <div class="p-checkbox p-treetable-checkbox p-component" @click="toggleCheckbox" v-if="checkboxSelectionMode && col.expander">
<div class="p-hidden-accessible"> <div class="p-hidden-accessible">
<input type="checkbox" /> <input type="checkbox" />
</div> </div>

View File

@ -70,7 +70,7 @@ import NodeService from '../../service/NodeService';
export default { export default {
data() { data() {
return { return {
nodes: null, nodes: null
} }
}, },
nodeService: null, nodeService: null,
@ -95,7 +95,7 @@ import TreeTableSubMenu from './TreeTableSubMenu';
export default { export default {
data() { data() {
return { return {
nodes: null, nodes: null
} }
}, },
nodeService: null, nodeService: null,