aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-10 11:07:59 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-03-10 11:07:59 -0400
commitd466e368ad164347f82a160e7088540a78c230f6 (patch)
treeea43ca45ebef082223cee42a02714e215dbfd9b0 /src/server/authentication/models/current_user_utils.ts
parent99039ccec5b53bc7d3ace46e801c84342c99cad1 (diff)
made stacking view hide edit/view button unless selected. get rid of columns with no documens when hideHeadings is set.
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index 15f626af4..0fbc596af 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -256,8 +256,8 @@ export class CurrentUserUtils {
// Finally, setup the list of buttons to display in the sidebar
doc.sidebarButtons = Docs.Create.StackingDocument([doc.SearchBtn as Doc, doc.LibraryBtn as Doc, doc.ToolsBtn as Doc], {
- _width: 500, _height: 80, boxShadow: "0 0", _pivotField: "title", hideHeadings: true, ignoreClick: true,
- _chromeStatus: "disabled", title: "library stack", backgroundColor: "dimGray",
+ _width: 500, _height: 80, boxShadow: "0 0", _pivotField: "title", hideHeadings: true, ignoreClick: true, _chromeStatus: "view-mode",
+ title: "sidebar btn row stack", backgroundColor: "dimGray",
});
}