[ARVADOS-WORKBENCH2] updated: 1.2.0-362-gf79c740
Git user
git at public.curoverse.com
Wed Sep 12 09:58:15 EDT 2018
Summary of changes:
src/views-components/side-panel-button/side-panel-button.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via f79c7407429a38dfe3c274e886983d8e3ea0fdaa (commit)
from 3263f15e7742236185e2b8e5203d1becc8bfdcf1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit f79c7407429a38dfe3c274e886983d8e3ea0fdaa
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Wed Sep 12 15:58:06 2018 +0200
clean code
Feature #14137
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/views-components/side-panel-button/side-panel-button.tsx b/src/views-components/side-panel-button/side-panel-button.tsx
index 80b3163..f0543b4 100644
--- a/src/views-components/side-panel-button/side-panel-button.tsx
+++ b/src/views-components/side-panel-button/side-panel-button.tsx
@@ -51,7 +51,7 @@ const transformOrigin: PopoverOrigin = {
const checkButtonVisibility = ({ router }: RootState) => {
const pathname = router.location ? router.location.pathname : '';
const match = matchProjectRoute(pathname);
- return match ? true : false;
+ return !!match;
};
export const SidePanelButton = withStyles(styles)(
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list