- {activeCapture ? (
- <>
-
- {activeCapture.dateTimeLabel}
-
-
-
-
-
-
-
- >
- ) : null}
+
+
+
+
+
+
-
-
+
+
+
+ {activeCapture ? : null}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {activeCapture ? (
+ <>
+
+ {activeCapture.dateTimeLabel}
+
+
+
+
+
+
+
+ >
+ ) : (
+
+ {translate(STRING.LOADING_DATA)}...
+
+ )}
+
+
+
+
+
+
-
+
void
- session: SessionDetails
settings: {
defaultFilters: boolean
showDetections: boolean
- snapToDetections: boolean
}
}) => {
const { projectId } = useParams()
@@ -33,7 +28,7 @@ export const ViewSettings = ({
@@ -70,18 +65,6 @@ export const ViewSettings = ({
/>
{project ? : null}
-
- onSettingsChange({
- ...settings,
- snapToDetections: !settings.snapToDetections,
- })
- }
- disabled={session.numDetections ? false : true}
- />