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