Skip to content

Commit

Permalink
fix(MeasurementsToolList): ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Jun 18, 2024
1 parent d609b84 commit 71ea419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/MeasurementsToolList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
MultipleSelectionState,
} from '@/src/composables/useMultipleToolSelection';
import { useToolSelectionStore } from '@/src/store/tools/toolSelection';
import type { Maybe } from '@/src/types';
import MeasurementToolDetails from './MeasurementToolDetails.vue';
import { AnnotationTool } from '../types/annotation-tool';
Expand Down Expand Up @@ -80,7 +81,7 @@ const selectionStore = useToolSelectionStore();
const { selectAll, deselectAll, selected, selectionState } =
useMultipleToolSelection(tools);
const toggleSelectAll = (shouldSelectAll: boolean) => {
const toggleSelectAll = (shouldSelectAll: Maybe<boolean>) => {
if (shouldSelectAll) {
selectAll();
} else {
Expand Down

0 comments on commit 71ea419

Please sign in to comment.