From 994ed01b49c6fee405c149fd12facbfb2686ca21 Mon Sep 17 00:00:00 2001
From: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
Date: Wed, 11 Aug 2021 16:55:19 -0700
Subject: [PATCH] Move version label to top right for plugin (#941)
---
.../components/sidebar/sidebarUserMenu.tsx | 13 ++++++------
webapp/src/components/topBar.scss | 21 +++++++++++++++++++
webapp/src/components/topBar.tsx | 15 ++++++++++++-
3 files changed, 42 insertions(+), 7 deletions(-)
diff --git a/webapp/src/components/sidebar/sidebarUserMenu.tsx b/webapp/src/components/sidebar/sidebarUserMenu.tsx
index 3e5b4e33f..8545d7f4c 100644
--- a/webapp/src/components/sidebar/sidebarUserMenu.tsx
+++ b/webapp/src/components/sidebar/sidebarUserMenu.tsx
@@ -46,12 +46,13 @@ const SidebarUserMenu = React.memo(() => {
{'Boards'}
>}
-
-
- {`v${Constants.versionString}`}
-
- {showVersionBadge &&
{'BETA'}
}
-
+ {focalboardTitle &&
+
+
+ {`v${Constants.versionString}`}
+
+ {showVersionBadge &&
{'BETA'}
}
+
}