Skip to content

Commit 67a6c50

Browse files
fix(ui): configure panel options would not be visible (#1505)
Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
1 parent fb8957b commit 67a6c50

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

fission/src/ui/panels/configuring/assembly-config/ConfigurePanel.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,7 @@ const ConfigurePanel: React.FC<PanelImplProps<void, ConfigurePanelCustomProps>>
341341
pendingDeletes={pendingDeletes}
342342
/>
343343

344-
{configMode === undefined &&
345-
selectedAssembly !== undefined &&
344+
{selectedAssembly !== undefined &&
346345
(!selectedAssembly.isOwnObject ? (
347346
<Label size={"sm"}>Cannot configure someone else's object</Label>
348347
) : (
@@ -360,13 +359,13 @@ const ConfigurePanel: React.FC<PanelImplProps<void, ConfigurePanelCustomProps>>
360359
{ConfigSubPanel != null && (
361360
<ConfigSubPanel
362361
panel={panel!}
363-
selectedAssembly={selectedAssembly!}
362+
selectedAssembly={selectedAssembly}
364363
setDisableAccept={setDisableAccept}
365364
hasMadeChanges={hasMadeChanges}
366365
registerCleanupFunction={registerCleanupFunctions}
367366
/>
368367
)}
369-
{
368+
{configMode === undefined && (
370369
<>
371370
<Spacer height={16} />
372371
<AssemblyExportButton selectedAssembly={selectedAssembly} />
@@ -388,7 +387,7 @@ const ConfigurePanel: React.FC<PanelImplProps<void, ConfigurePanelCustomProps>>
388387
<FaArrowsRotate />
389388
</Button>
390389
</>
391-
}
390+
)}
392391
</>
393392
))}
394393
</>

0 commit comments

Comments
 (0)