From d0bf0bde1178e20c99f4f8b094cc0e25c5a04df5 Mon Sep 17 00:00:00 2001 From: ZoZo Date: Wed, 16 Nov 2022 12:57:11 -0800 Subject: [PATCH] Fix: bad printerUrl check in ternary operator (#1158) fix https://github.com/mainsail-crew/mainsail/issues/1156 --- src/components/webcams/Uv4lMjpeg.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/webcams/Uv4lMjpeg.vue b/src/components/webcams/Uv4lMjpeg.vue index 3dace9ecb..0bea7f4f4 100644 --- a/src/components/webcams/Uv4lMjpeg.vue +++ b/src/components/webcams/Uv4lMjpeg.vue @@ -27,7 +27,7 @@ export default class Uv4lMjpeg extends Mixins(BaseMixin) { private isVisibleDocument = true @Prop({ required: true }) declare readonly camSettings: GuiWebcamStateWebcam - @Prop({ default: null }) declare readonly printerUrl: string | null + @Prop() declare printerUrl: string | undefined declare $refs: { webcamUv4lMjpegImage: HTMLImageElement