Skip to content

Commit

Permalink
Merge pull request #835 from AI4Bharat/exportVOTR
Browse files Browse the repository at this point in the history
add votr tab in task queue status
  • Loading branch information
aparna-aa authored Oct 16, 2024
2 parents 08d4b14 + d21dce7 commit 8584e3c
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 8584e3c

Please sign in to comment.