mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-23 22:18:22 +01:00
ProductBarcode: allow passing parameters to Dialog
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
const { t } = useI18n();
|
||||
const { activeDialog, closeDialog } = useDialog();
|
||||
const open = computed(() => activeDialog.value === "scanner");
|
||||
const open = computed(() => activeDialog.value && activeDialog.value.id === "scanner");
|
||||
|
||||
const sources = ref<MediaDeviceInfo[]>([]);
|
||||
const selectedSource = ref<string | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user