Web: Editor: Fixed not displaying data of Sharing Panel.
This commit is contained in:
parent
2a8052bc51
commit
3be8ab673c
@ -4,6 +4,9 @@ import { isMobile } from "react-device-detect";
|
||||
|
||||
import Loaders from "@appserver/common/components/Loaders";
|
||||
|
||||
const pathname = window.location.pathname.toLowerCase();
|
||||
const isEditor = pathname.indexOf("doceditor") !== -1;
|
||||
|
||||
let loadTimeout = null;
|
||||
const withLoader = (WrappedComponent) => (Loader) => {
|
||||
const withLoader = (props) => {
|
||||
@ -33,7 +36,10 @@ const withLoader = (WrappedComponent) => (Loader) => {
|
||||
};
|
||||
}, [isLoading]);
|
||||
|
||||
return firstLoad || !isLoaded || (isMobile && inLoad) || !tReady ? (
|
||||
return (!isEditor && firstLoad) ||
|
||||
!isLoaded ||
|
||||
(isMobile && inLoad) ||
|
||||
!tReady ? (
|
||||
Loader ? (
|
||||
Loader
|
||||
) : viewAs === "tile" ? (
|
||||
|
Loading…
Reference in New Issue
Block a user