Skip to content

Commit

Permalink
Merge pull request #839 from AI4Bharat/revert-836-revert-835-exportVOTR
Browse files Browse the repository at this point in the history
Revert "Revert "add votr tab in task queue status""
  • Loading branch information
kartikvirendrar authored Oct 29, 2024
2 parents 36aad0b + dedb190 commit f9b1ae2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config/tableColumns.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,10 @@ export const taskQueueStatusColumns = [
name: "video_duration",
label: "Video Duration",
},
{
name: "status",
label: "Status",
},
];

export const taskQueueStatusAdminColumns = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const QueueStatusTable = ({ queueType }) => {
item.submitter_name,
item.org_name,
item.video_duration,
item.status,
];
});
setTableData(result);
Expand Down
12 changes: 12 additions & 0 deletions src/containers/Organization/TaskQueueStatus/TaskQueueStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ const TaskQueueStatus = () => {
label={"Voice-Over"}
className={classes.taskQueueStatusTabs}
/>
<Tab
label={"Translation Voice-Over"}
className={classes.taskQueueStatusTabs}
/>
<Tab
label={"All-Tasks"}
className={classes.taskQueueStatusTabs}
Expand Down Expand Up @@ -75,6 +79,14 @@ const TaskQueueStatus = () => {
value={value}
index={3}
style={{ textAlign: "center", maxWidth: "100%" }}
>
<QueueStatusTable queueType={"nmt_tts"} />
</TabPanel>

<TabPanel
value={value}
index={4}
style={{ textAlign: "center", maxWidth: "100%" }}
>
<QueueStatusTable queueType={"all_tasks"} />
</TabPanel>
Expand Down

0 comments on commit f9b1ae2

Please sign in to comment.