diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue index 8fd513f9aa..322d9e2d45 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue @@ -4,10 +4,14 @@ import { PipelineType } from "@/types/PipelineTypes"; import CvSelect from "@/components/common/cv-select.vue"; import CvSlider from "@/components/common/cv-slider.vue"; import CvSwitch from "@/components/common/cv-switch.vue"; +import {computed, getCurrentInstance} from "vue"; +import {useStateStore} from "@/stores/StateStore"; // TODO fix pipeline typing in order to fix this, the store settings call should be able to infer that only valid pipeline type settings are exposed based on pre-checks for the entire config section // Defer reference to store access method const currentPipelineSettings = useCameraSettingsStore().currentPipelineSettings; + +const interactiveCols = computed(() => (getCurrentInstance()?.proxy.$vuetify.breakpoint.mdAndDown || false) && (!useStateStore().sidebarFolded || useCameraSettingsStore().isDriverMode)) ? 9 : 8;