Skip to content
Snippets Groups Projects
Commit 37f75acc authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

masquage du collectionTree dans les onglets autres que la celui de la navigation

parent e2fcffa1
Branches
Tags v0.4.3
No related merge requests found
Pipeline #15084 passed
{
"name": "@certic/vue-jama",
"version": "0.4.2",
"version": "0.4.3",
"scripts": {
"serve": "rimraf -rf ./node_modules/.cache/vue-loader && vue-cli-service serve",
"build": "vue-cli-service build",
......
......@@ -4,7 +4,7 @@
class="ma-0 flex-grow-1 main-row"
>
<v-col
v-if="currentCollection && treeDrawer"
v-if="currentCollection && treeDrawer && resourcesMode"
:cols="treeDrawerCols"
class="pa-0 ma-0 jama-tree-drawer-cols"
>
......@@ -38,7 +38,7 @@
elevation="0"
>
<v-btn
v-if="currentCollection"
v-if="currentCollection && resourcesMode"
icon
@click.stop="treeDrawer = !treeDrawer"
>
......@@ -516,7 +516,12 @@ export default {
},
mainPaneCols() {
let c = this.sidePaneVisible ? (this.rightPaneMaximized ? 5 : 7) : 10;
return this.treeDrawer && this.currentCollection ? c : c + 2;
c = this.treeDrawer && this.currentCollection ? c : c + 2;
if(this.resourcesMode)
return c;
else{
return this.sidePaneVisible ? (this.rightPaneMaximized ? 7 : 9) : 12;
}
},
paginatorCols() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment