seat-editor 3.3.26 → 3.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,6 +36,7 @@ const TableEditor = (props) => {
|
|
|
36
36
|
});
|
|
37
37
|
if (viewOnly) {
|
|
38
38
|
dispatch({ type: "board/setFlagChange", payload: true });
|
|
39
|
+
dispatch({ type: "board/setUpdateBy", payload: "global" });
|
|
39
40
|
}
|
|
40
41
|
}, [viewOnly]);
|
|
41
42
|
const onUpdateCurrentState = () => {
|
|
@@ -160,7 +161,7 @@ const TableEditor = (props) => {
|
|
|
160
161
|
return (<>
|
|
161
162
|
<div className="w-full h-screen flex relative">
|
|
162
163
|
{viewOnly ? (<div className="w-full h-full flex relative">
|
|
163
|
-
<LayerView key={`${viewOnly}`} statusKey="status" loadingRender={props === null || props === void 0 ? void 0 : props.loadingRender}
|
|
164
|
+
<LayerView key={`${viewOnly}`} statusKey="status" loadingRender={props === null || props === void 0 ? void 0 : props.loadingRender}/>
|
|
164
165
|
</div>) : (<div key={`${viewOnly}`} className="w-full h-full flex relative">
|
|
165
166
|
{loading && (<div className="absolute z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-opacity-50 bg-white w-full h-full flex items-center justify-center">
|
|
166
167
|
{(loadingRender === null || loadingRender === void 0 ? void 0 : loadingRender.element) || <Spin />}
|