fix(simulation): hide launcher panel for polygon
This commit is contained in:
parent
ee7d1dd26c
commit
17a0e7a7f5
|
|
@ -222,7 +222,6 @@ export default function App() {
|
|||
if (!polygonRunRoute.active || polygonRunRouteOpenedRef.current) return;
|
||||
polygonRunRouteOpenedRef.current = true;
|
||||
workspace.openView("polygon-run");
|
||||
workspace.closeNavigation();
|
||||
}, [polygonRunRoute.active, workspace]);
|
||||
|
||||
if (!sceneSettingsCommitterRef.current) {
|
||||
|
|
@ -422,7 +421,6 @@ export default function App() {
|
|||
setActiveRoot(rootId);
|
||||
if (rootId === "polygon") {
|
||||
workspace.openView("polygon-run");
|
||||
workspace.closeNavigation();
|
||||
return;
|
||||
}
|
||||
workspace.closeView();
|
||||
|
|
@ -653,7 +651,9 @@ export default function App() {
|
|||
data-nodedc-ui
|
||||
className="control-station"
|
||||
data-observation-fullscreen={observationFullscreenActive ? "true" : undefined}
|
||||
navigationOpen={workspace.navigationOpen && activeRoot !== null}
|
||||
navigationOpen={
|
||||
workspace.navigationOpen && activeRoot !== null && activeRoot !== "polygon"
|
||||
}
|
||||
contentOpen={workspace.contentOpen && activeDefinition !== null}
|
||||
contentExpanded={workspace.contentExpanded}
|
||||
header={header}
|
||||
|
|
@ -667,7 +667,7 @@ export default function App() {
|
|||
onOpenDevice={() => openView("local-device")}
|
||||
/>
|
||||
}
|
||||
navigation={currentRoot ? (
|
||||
navigation={currentRoot && activeRoot !== "polygon" ? (
|
||||
<AdminNavigationPanel
|
||||
eyebrow="MISSION CORE"
|
||||
title={currentRoot.title}
|
||||
|
|
|
|||
Loading…
Reference in New Issue