Skip to content

Commit

Permalink
Fix: bad printerUrl check in ternary operator (#1158)
Browse files Browse the repository at this point in the history
fix #1156
  • Loading branch information
cruiten authored Nov 16, 2022
1 parent d87fe41 commit d0bf0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/webcams/Uv4lMjpeg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0bf0bd

Please sign in to comment.