diff --git a/web/components/BomTab.vue b/web/components/BomTab.vue index 40d8300..1566b78 100644 --- a/web/components/BomTab.vue +++ b/web/components/BomTab.vue @@ -4,7 +4,7 @@ import type { BoardLayoutLeftover } from '@aklinker1/cutlist'; const url = useAssemblyUrl(); const { data: doc } = useDocumentQuery(url); const { data, isLoading } = useBoardLayoutsQuery(); -const distanceUnit = useDistanceUnit(); +const { distanceUnit } = useProjectSettings(); const formatDistance = useFormatDistance(); const rows = computed(() => { diff --git a/web/components/PartListItem.vue b/web/components/PartListItem.vue index 4b5d1b1..e8180fb 100644 --- a/web/components/PartListItem.vue +++ b/web/components/PartListItem.vue @@ -21,7 +21,7 @@ const fontSize = usePx(() => ), ); -const showPartNumbers = useShowPartNumbers(); +const { showPartNumbers } = useProjectSettings();