Skip to content

Commit 34444fa

Browse files
authored
[fix] check for allBins (#2876)
Signed-off-by: Ihor Dykhta <[email protected]>
1 parent 8335ba4 commit 34444fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/src/side-panel/layer-panel/color-breaks-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function ColorBreaksPanelFactory(
194194
onApply={onApply}
195195
onCancel={onCilckCancel}
196196
/>
197-
) : currentBreaks ? (
197+
) : currentBreaks && allBins.length > 1 ? (
198198
<ColorBreaksDisplay
199199
currentBreaks={currentBreaks}
200200
onEdit={isCustomBreaks ? onClickEditCustomBreaks : null}

0 commit comments

Comments
 (0)