chore(view): hide add new view temp

This commit is contained in:
lawvs
2022-07-26 17:39:47 +08:00
parent 3582d7c013
commit 03c29aeee6

View File

@@ -105,15 +105,20 @@ const GroupMenuWrapper = ({
content={ content={
<GroupPanel> <GroupPanel>
<ViewsMenu /> <ViewsMenu />
<IconButton
active={activePanel === PANEL_CONFIG.ADD_VIEW} {filterSorterFlag && (
onClick={() => <IconButton
setActivePanel(PANEL_CONFIG.ADD_VIEW as ActivePanel) active={activePanel === PANEL_CONFIG.ADD_VIEW}
} onClick={() =>
> setActivePanel(
<AddViewIcon fontSize="small" /> PANEL_CONFIG.ADD_VIEW as ActivePanel
Add View )
</IconButton> }
>
<AddViewIcon fontSize="small" />
Add View
</IconButton>
)}
{ {
// // Closed beta period temporarily // // Closed beta period temporarily