aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/webcam
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/webcam')
-rw-r--r--src/client/views/webcam/DashWebCam.tsx5
-rw-r--r--src/client/views/webcam/DashWebRTCVideo.tsx3
2 files changed, 3 insertions, 5 deletions
diff --git a/src/client/views/webcam/DashWebCam.tsx b/src/client/views/webcam/DashWebCam.tsx
index 351913562..a9669750f 100644
--- a/src/client/views/webcam/DashWebCam.tsx
+++ b/src/client/views/webcam/DashWebCam.tsx
@@ -308,8 +308,7 @@ export class DashWebCam extends React.Component<CollectionFreeFormDocumentViewPr
- public static LayoutString() { return FieldView.LayoutString(DashWebCam); }
-
+ public static LayoutString(fieldKey: string) { return FieldView.LayoutString(DashWebCam, fieldKey); }
render() {
const { state, props } = this;
@@ -328,8 +327,6 @@ export class DashWebCam extends React.Component<CollectionFreeFormDocumentViewPr
videoConstraints,
imageSmoothing,
fieldKey,
- fieldExt,
- leaveNativeSize,
fitToBox,
ContainingCollectionView,
Document,
diff --git a/src/client/views/webcam/DashWebRTCVideo.tsx b/src/client/views/webcam/DashWebRTCVideo.tsx
index dcaa87557..62efd9730 100644
--- a/src/client/views/webcam/DashWebRTCVideo.tsx
+++ b/src/client/views/webcam/DashWebRTCVideo.tsx
@@ -290,7 +290,8 @@ export class DashWebRTCVideo extends React.Component<CollectionFreeFormDocumentV
- public static LayoutString() { return FieldView.LayoutString(DashWebRTCVideo); }
+ public static LayoutString(fieldKey: string) { return FieldView.LayoutString(DashWebRTCVideo, fieldKey); }
+
_ignore = 0;