Remove camera index in ui (#1677)

With the new camera matching, this is SUPER BAD! Convert to using camera
uuid.

---------

Co-authored-by: Matt <matthew.morley.ca@gmail.com>
This commit is contained in:
Cameron (3539)
2025-01-03 18:50:25 -05:00
committed by GitHub
parent 6c7a174424
commit ab844a77b8
19 changed files with 271 additions and 250 deletions

View File

@@ -2,7 +2,7 @@
import { computed } from "vue";
import TooltippedLabel from "@/components/common/pv-tooltipped-label.vue";
interface SelectItem {
export interface SelectItem {
name: string | number;
value: string | number;
disabled?: boolean;
@@ -14,7 +14,7 @@ const props = withDefaults(
tooltip?: string;
selectCols?: number;
// TODO fully update v-model usage in custom components on Vue3 update
value: number;
value: any;
disabled?: boolean;
items: string[] | number[] | SelectItem[];
}>(),
@@ -25,7 +25,7 @@ const props = withDefaults(
);
const emit = defineEmits<{
(e: "input", value: number): void;
(e: "input", value: string): void;
}>();
const localValue = computed({