From e5f2ffa600f583cd787a77af1ec08f7f2cea4217 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Wed, 28 Oct 2020 08:58:32 -0700 Subject: [PATCH] Check current group by property in menu --- webapp/src/components/viewHeader.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/src/components/viewHeader.tsx b/webapp/src/components/viewHeader.tsx index 6b4601483..4a220f337 100644 --- a/webapp/src/components/viewHeader.tsx +++ b/webapp/src/components/viewHeader.tsx @@ -16,6 +16,7 @@ import mutator from '../mutator' import {Utils} from '../utils' import Menu from '../widgets/menu' import MenuWrapper from '../widgets/menuWrapper' +import CheckIcon from '../widgets/icons/check' import DropdownIcon from '../widgets/icons/dropdown' import OptionsIcon from '../widgets/icons/options' import SortUpIcon from '../widgets/icons/sortUp' @@ -199,6 +200,7 @@ class ViewHeader extends React.Component { key={option.id} id={option.id} name={option.name} + icon={boardTree.activeView.groupById === option.id ? : undefined} onClick={(id) => { if (boardTree.activeView.groupById === id) { return