diff --git a/ui/v2.5/src/components/Stats.tsx b/ui/v2.5/src/components/Stats.tsx index 38cf76213..bfc1ff01b 100644 --- a/ui/v2.5/src/components/Stats.tsx +++ b/ui/v2.5/src/components/Stats.tsx @@ -14,6 +14,11 @@ export const Stats: React.FC = () => { const scenesSize = TextUtils.fileSize(data.stats.scenes_size); const imagesSize = TextUtils.fileSize(data.stats.images_size); + const scenesDuration = TextUtils.secondsAsTimeString( + data.stats.scenes_duration, + 3 + ); + return (
@@ -48,9 +53,7 @@ export const Stats: React.FC = () => {

-

- {` ${TextUtils.secondsAsTimeString(data.stats.scenes_duration, 3)}`} -

+

{scenesDuration || "-"}