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 />
{filterSorterFlag && (
<IconButton <IconButton
active={activePanel === PANEL_CONFIG.ADD_VIEW} active={activePanel === PANEL_CONFIG.ADD_VIEW}
onClick={() => onClick={() =>
setActivePanel(PANEL_CONFIG.ADD_VIEW as ActivePanel) setActivePanel(
PANEL_CONFIG.ADD_VIEW as ActivePanel
)
} }
> >
<AddViewIcon fontSize="small" /> <AddViewIcon fontSize="small" />
Add View Add View
</IconButton> </IconButton>
)}
{ {
// // Closed beta period temporarily // // Closed beta period temporarily