Merge branch 'hotfix/v2.5.1' of https://github.com/ONLYOFFICE/DocSpace-client into hotfix/v2.5.1
This commit is contained in:
commit
4125b4cd10
@ -46,14 +46,13 @@ StyledComponent.defaultProps = { theme: Base };
|
||||
|
||||
const CustomizationNavbar = ({
|
||||
t,
|
||||
isLoaded,
|
||||
tReady,
|
||||
setIsLoadedCustomizationNavbar,
|
||||
isLoadedPage,
|
||||
isSettingPaid,
|
||||
enablePortalRename,
|
||||
}) => {
|
||||
const isLoadedSetting = isLoaded && tReady;
|
||||
const isLoadedSetting = tReady;
|
||||
const navigate = useNavigate();
|
||||
|
||||
useEffect(() => {
|
||||
@ -103,9 +102,8 @@ const CustomizationNavbar = ({
|
||||
|
||||
export default inject(({ common, settingsStore }) => {
|
||||
const { enablePortalRename } = settingsStore;
|
||||
const { isLoaded, setIsLoadedCustomizationNavbar } = common;
|
||||
const { setIsLoadedCustomizationNavbar } = common;
|
||||
return {
|
||||
isLoaded,
|
||||
setIsLoadedCustomizationNavbar,
|
||||
enablePortalRename,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user