Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
knollengewaechs committed Nov 28, 2024
1 parent 4088eee commit 5b5fd41
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export function NewVolumeLayerSelection({
const selectedSegmentationLayerIndex =
selectedSegmentationLayerName != null
? segmentationLayers.indexOf(
getSegmentationLayerByName(dataset, selectedSegmentationLayerName),
)
getSegmentationLayerByName(dataset, selectedSegmentationLayerName),
)
: -1;
return (
<div
Expand Down Expand Up @@ -186,8 +186,8 @@ function CreateExplorativeModal({ datasetId, onClose }: Props) {
const segmentationLayers = getSegmentationLayers(dataset);
const selectedSegmentationLayer =
annotationType !== "skeleton" &&
segmentationLayers.length > 0 &&
selectedSegmentationLayerName != null
segmentationLayers.length > 0 &&
selectedSegmentationLayerName != null
? getSegmentationLayerByName(dataset, selectedSegmentationLayerName)
: null;
const fallbackLayerGetParameter =
Expand Down

0 comments on commit 5b5fd41

Please sign in to comment.