From 2d505ce35910ce991253ca34c0fe73f3a55a814d Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Fri, 26 Nov 2021 08:51:01 -0700 Subject: [PATCH] CalendarView Remove Feature flag (#1865) * Updating table row css (#1787) * remove calendarView Feature flag * remove unused imports Co-authored-by: Asaad Mahmood --- webapp/src/components/centerPanel.tsx | 2 +- webapp/src/components/viewMenu.tsx | 17 ++++++----------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/webapp/src/components/centerPanel.tsx b/webapp/src/components/centerPanel.tsx index 5fc6081da..58c260529 100644 --- a/webapp/src/components/centerPanel.tsx +++ b/webapp/src/components/centerPanel.tsx @@ -195,7 +195,7 @@ class CenterPanel extends React.Component { addCard={this.addCard} onCardClicked={this.cardClicked} />} - {activeView.fields.viewType === 'calendar' && this.props.clientConfig?.featureFlags.CalendarView && + {activeView.fields.viewType === 'calendar' && { const history = useHistory() const match = useRouteMatch() - const clientConfig = useAppSelector(getClientConfig) const showView = useCallback((viewId) => { let newPath = generatePath(match.path, {...match.params, viewId: viewId || ''}) @@ -291,14 +288,12 @@ const ViewMenu = React.memo((props: Props) => { icon={} onClick={handleAddViewGallery} /> - {clientConfig?.featureFlags.CalendarView && - } - onClick={handleAddViewCalendar} - /> - } + } + onClick={handleAddViewCalendar} + /> }