Web:Add showRootFolderTitle props is true for navigation in rooms.

This commit is contained in:
Vlada Gazizova 2023-06-02 13:31:46 +03:00
parent 585f5cb239
commit 8ebc361258
2 changed files with 3 additions and 2 deletions

View File

@ -196,7 +196,7 @@ const SectionHeaderContent = (props) => {
setInvitePanelOptions,
isEmptyPage,
pathParts,
emptyTrashInProgress
emptyTrashInProgress,
} = props;
const navigate = useNavigate();
@ -875,6 +875,7 @@ const SectionHeaderContent = (props) => {
isEmptyPage={isEmptyPage}
isRoom={isRoom}
hideInfoPanel={isSettingsPage}
showRootFolderTitle={isRoom}
/>
</div>
)}

View File

@ -50,7 +50,7 @@ const Navigation = ({
isDesktop: isDesktopClient,
isRoom,
hideInfoPanel,
showRootFolderTitle = true,
showRootFolderTitle,
...rest
}) => {
const [isOpen, setIsOpen] = React.useState(false);