fix fileflows widget labels

pull/998/head
shamoon 2 years ago
parent 2e54f586a2
commit ebe58769f6

@ -477,5 +477,11 @@
"photos": "Photos",
"videos": "Videos",
"people": "People"
},
"fileflows": {
"queue": "Queue",
"processing": "Processing",
"processed": "Processed",
"time": "Time"
}
}

@ -28,10 +28,10 @@ export default function Component({ service }) {
return (
<Container service={service}>
<Block label="queue" value={t("common.number", { value: fileflowsData.queue })} />
<Block label="processing" value={t("common.number", { value: fileflowsData.processing })} />
<Block label="processed" value={t("common.number", { value: fileflowsData.processed })} />
<Block label="time" value={fileflowsData.time?.length ? fileflowsData.time : "0:00"} />
<Block label="fileflows.queue" value={t("common.number", { value: fileflowsData.queue })} />
<Block label="fileflows.processing" value={t("common.number", { value: fileflowsData.processing })} />
<Block label="fileflows.processed" value={t("common.number", { value: fileflowsData.processed })} />
<Block label="fileflows.time" value={fileflowsData.time?.length ? fileflowsData.time : "0:00"} />
</Container>
);
}

Loading…
Cancel
Save