Add toggle functionality to expand/collapse all items in CalculationDumps and adjust tab order in Config page
This commit is contained in:
parent
f1222dc410
commit
88d258cd06
2 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
<div class="single-dump-container">
|
||||
<div class="button-container">
|
||||
<basic-button @click="showModal = false" :show-icon="false" variant="secondary">Close</basic-button>
|
||||
<basic-button variant="secondary" :show-icon="false" @click="expand = !expand"> {{ expand === true ? 'Collapse all items' : 'Expand all items' }}</basic-button>
|
||||
</div>
|
||||
<json-tree-viewer :data="dump" :all-expanded="expand"></json-tree-viewer>
|
||||
</div>
|
||||
|
|
@ -65,6 +66,7 @@ export default {
|
|||
return {
|
||||
showModal: false,
|
||||
dump: null,
|
||||
expand: false,
|
||||
|
||||
pageSize: 20,
|
||||
pagination: {page: 1, pageCount: 1, totalCount: 1},
|
||||
|
|
|
|||
|
|
@ -96,8 +96,8 @@ export default {
|
|||
}
|
||||
|
||||
if (this.activeUserStore.isService) {
|
||||
tabs.push(this.appsTab);
|
||||
tabs.push(this.calculationDump);
|
||||
tabs.push(this.appsTab);
|
||||
}
|
||||
|
||||
if (this.activeUserStore.isRightManagement) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue