diff --git a/packages/editor/test/playground/map-render/js/MapInfoImpl.ts b/packages/editor/test/playground/map-render/js/MapInfoImpl.ts index a3a1bdc3..78d7a5c1 100644 --- a/packages/editor/test/playground/map-render/js/MapInfoImpl.ts +++ b/packages/editor/test/playground/map-render/js/MapInfoImpl.ts @@ -45,6 +45,10 @@ class MapInfoImpl implements MapInfo { return this.title; } + getLockedMsg(): string | undefined { + return this.lockedMsg; + } + setTitle(value: string): void { throw (this.title = value); } diff --git a/packages/webapp/src/components/editor-page/index.tsx b/packages/webapp/src/components/editor-page/index.tsx index a349de03..171a3424 100644 --- a/packages/webapp/src/components/editor-page/index.tsx +++ b/packages/webapp/src/components/editor-page/index.tsx @@ -204,6 +204,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement = locale: userLocale.code, mode: mapMetadata.mode, enableAppBar: true, + zoom: mapMetadata.zoom, }; persistence = buildPersistenceManagerForEditor(mapMetadata.mode); @@ -212,7 +213,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement = client, mapMetadata.title, mapMetadata.isLocked, - '', + mapMetadata.isLockedBy, mapMetadata.zoom, ); }