Skip to content

Commit 8b090d2

Browse files
improve if clause
1 parent be14740 commit 8b090d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/javascripts/oxalis/view/action-bar/download_modal_view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ function _DownloadModalView({
672672
>
673673
Mag
674674
</Divider>
675-
{!onlyOneMagAvailable ? (
675+
{!onlyOneMagAvailable && (
676676
<Row>
677677
<Col span={19}>
678678
<MagSlider magnificationInfo={selectedLayerMagInfo} value={mag} onChange={setMag} />
@@ -684,7 +684,7 @@ function _DownloadModalView({
684684
{mag.join("-")}
685685
</Col>
686686
</Row>
687-
) : null}
687+
)}
688688
<Text
689689
style={{
690690
margin: "0 6px 12px",

0 commit comments

Comments
 (0)