seat-editor 3.3.26 → 3.3.27
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.
|
@@ -150,7 +150,7 @@ const BoardTemplate = ({ refs, loadingRender }) => {
|
|
|
150
150
|
(_g = transformRef.current) === null || _g === void 0 ? void 0 : _g.setTransform(-minX, -minY, scale);
|
|
151
151
|
setHasInitialzed(true);
|
|
152
152
|
}
|
|
153
|
-
}, [componentsProps, extraComponentsProps]);
|
|
153
|
+
}, [componentsProps, extraComponentsProps, loadingRender === null || loadingRender === void 0 ? void 0 : loadingRender.state]);
|
|
154
154
|
const queueUpdateComponents = (data) => {
|
|
155
155
|
dispatch({
|
|
156
156
|
type: "board/updateComponentsBulk",
|
|
@@ -160,7 +160,7 @@ const TableEditor = (props) => {
|
|
|
160
160
|
return (<>
|
|
161
161
|
<div className="w-full h-screen flex relative">
|
|
162
162
|
{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}
|
|
163
|
+
<LayerView key={`${viewOnly}`} statusKey="status" loadingRender={props === null || props === void 0 ? void 0 : props.loadingRender}/>
|
|
164
164
|
</div>) : (<div key={`${viewOnly}`} className="w-full h-full flex relative">
|
|
165
165
|
{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
166
|
{(loadingRender === null || loadingRender === void 0 ? void 0 : loadingRender.element) || <Spin />}
|