Skip to content

Commit

Permalink
Revert "CB-5645 REVERT IT (need for tests)"
Browse files Browse the repository at this point in the history
This reverts commit 6c53b90.
  • Loading branch information
sergeyteleshev committed Oct 24, 2024
1 parent 809168a commit 1adc4ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ export const VersionSelector = observer<Props>(function VersionSelector({ versio
>
{translate('plugin_version_update_administration_version_selector_label')}
</Combobox>
{Instruction && (
{version && Instruction && (
<GroupItem>
<Instruction
link={GITHUB_LINKS.getDeployUpdateLink(!!serverConfigResource.data?.distributed)}
className={s(style, { instruction: true })}
version={version!}
version={version}
containerId={serverConfigResource.data?.containerId}
/>
</GroupItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export const VersionUpdate: TabContainerPanelComponent<AdministrationItemContent

return (
<ColoredContainer className={s(style, { coloredContainer: true })} wrap gap overflow parent>
{/* <VersionChecker /> */}
{/* {versions.length > 0 && ( */}
{/* <> */}
{GeneralInstructions && <GeneralInstructions />}
<VersionSelector versions={versions} />
{/* </> */}
{/* )} */}
<VersionChecker />
{versions.length > 0 && (
<>
{GeneralInstructions && <GeneralInstructions />}
<VersionSelector versions={versions} />
</>
)}
</ColoredContainer>
);
});

0 comments on commit 1adc4ff

Please sign in to comment.