aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-03 22:19:32 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-03 22:19:32 +0800
commitc796c665f53a34d09caaa5edcbd3e2e2649616fe (patch)
tree2c685c46551e7d2fe1560ef34540dfdc5a80172d /src/client/util/CurrentUserUtils.ts
parent8303cd6389fe9e3c861d7b429bb4e32d3417a895 (diff)
parent3e5de053421b29315c57bde165a798bee3ed077b (diff)
updated UI to fit with menu redesign
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index b37c91c56..7b6868f73 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -48,6 +48,8 @@ export class CurrentUserUtils {
@observable public static closedStack: any | undefined;
@observable public static searchStack: any | undefined;
+ @observable public static selectedPanel: string = "none";
+
// sets up the default User Templates - slideView, queryView, descriptionView
static setupUserTemplateButtons(doc: Doc) {
if (doc["template-button-query"] === undefined) {
@@ -520,8 +522,9 @@ export class CurrentUserUtils {
static setupMenuPanel(doc: Doc) {
if (doc.menuStack === undefined) {
const buttons = CurrentUserUtils.menuBtnDescriptions();
- const menuBtns = buttons.map(({ title, icon, click }) => Docs.Create.MenuIconDocument({
+ const menuBtns = buttons.map(({ title, icon, click }) => Docs.Create.FontIconDocument({
icon,
+ menuIcon: true,
title,
_backgroundColor: "black",
stayInCollection: true,