LauraXia123 commented on code in PR #5164: URL: https://github.com/apache/gravitino/pull/5164#discussion_r1810083306
########## web/web/src/app/metalakes/metalake/rightContent/RightContent.js: ########## @@ -25,23 +25,38 @@ import { Box, Button, IconButton } from '@mui/material' import Icon from '@/components/Icon' import MetalakePath from './MetalakePath' import CreateCatalogDialog from './CreateCatalogDialog' +import CreateSchemaDialog from './CreateSchemaDialog' import TabsContent from './tabsContent/TabsContent' import { useSearchParams } from 'next/navigation' +import { useAppSelector } from '@/lib/hooks/useStore' const RightContent = () => { const [open, setOpen] = useState(false) + const [openSchema, setOpenSchema] = useState(false) const searchParams = useSearchParams() const [isShowBtn, setBtnVisiable] = useState(true) + const [isShowSchemaBtn, setSchemaBtnVisiable] = useState(false) Review Comment: It's visible when view the schema page, it's unvisible when view other pages. The judgment condition is implemented in lines 54 to 57. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org