Web:Add showRootFolderTitle props is true for navigation in rooms.
This commit is contained in:
parent
585f5cb239
commit
8ebc361258
@ -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>
|
||||
)}
|
||||
|
@ -50,7 +50,7 @@ const Navigation = ({
|
||||
isDesktop: isDesktopClient,
|
||||
isRoom,
|
||||
hideInfoPanel,
|
||||
showRootFolderTitle = true,
|
||||
showRootFolderTitle,
|
||||
...rest
|
||||
}) => {
|
||||
const [isOpen, setIsOpen] = React.useState(false);
|
||||
|
Loading…
Reference in New Issue
Block a user