diff --git a/ui/v2.5/src/components/Scenes/SceneDetails/PrimaryTags.tsx b/ui/v2.5/src/components/Scenes/SceneDetails/PrimaryTags.tsx index 061b2de7545..8592be4a8c1 100644 --- a/ui/v2.5/src/components/Scenes/SceneDetails/PrimaryTags.tsx +++ b/ui/v2.5/src/components/Scenes/SceneDetails/PrimaryTags.tsx @@ -53,7 +53,7 @@ export const PrimaryTags: React.FC = ({
- {typeof marker.end_seconds === 'number' && marker.end_seconds !== -1 + {typeof marker.end_seconds === "number" && marker.end_seconds !== -1 ? `${TextUtils.secondsToTimestamp( marker.seconds )}-${TextUtils.secondsToTimestamp(marker.end_seconds)}` diff --git a/ui/v2.5/src/components/Wall/WallItem.tsx b/ui/v2.5/src/components/Wall/WallItem.tsx index c73a1284d39..ad6a8e2c76e 100644 --- a/ui/v2.5/src/components/Wall/WallItem.tsx +++ b/ui/v2.5/src/components/Wall/WallItem.tsx @@ -184,7 +184,8 @@ export const WallItem = ({ const sceneMarker = data as GQL.SceneMarkerDataFragment; const newTitle = markerTitle(sceneMarker); const seconds = - typeof sceneMarker.end_seconds === 'number' && sceneMarker.end_seconds !== -1 + typeof sceneMarker.end_seconds === "number" && + sceneMarker.end_seconds !== -1 ? `${TextUtils.secondsToTimestamp( sceneMarker.seconds )}-${TextUtils.secondsToTimestamp(sceneMarker.end_seconds)}`