mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 03:05:53 +08:00
(ui): Rename TaskGroupsTable to AggregatingTasksTable
This commit is contained in:
parent
db8b77591e
commit
c13cba0d5d
@ -89,7 +89,9 @@ const columns: TableColumn[] = [
|
|||||||
{ key: "actions", label: "Actions", align: "center" },
|
{ key: "actions", label: "Actions", align: "center" },
|
||||||
];
|
];
|
||||||
|
|
||||||
function TaskGroupsTable(props: Props & ConnectedProps<typeof connector>) {
|
function AggregatingTasksTable(
|
||||||
|
props: Props & ConnectedProps<typeof connector>
|
||||||
|
) {
|
||||||
const [selectedGroup, setSelectedGroup] = React.useState<GroupInfo | null>(
|
const [selectedGroup, setSelectedGroup] = React.useState<GroupInfo | null>(
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
@ -427,4 +429,4 @@ function Row(props: RowProps) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default connector(TaskGroupsTable);
|
export default connector(AggregatingTasksTable);
|
@ -12,7 +12,7 @@ import ScheduledTasksTable from "./ScheduledTasksTable";
|
|||||||
import RetryTasksTable from "./RetryTasksTable";
|
import RetryTasksTable from "./RetryTasksTable";
|
||||||
import ArchivedTasksTable from "./ArchivedTasksTable";
|
import ArchivedTasksTable from "./ArchivedTasksTable";
|
||||||
import CompletedTasksTable from "./CompletedTasksTable";
|
import CompletedTasksTable from "./CompletedTasksTable";
|
||||||
import TaskGroupsTable from "./TaskGroupsTable";
|
import AggregatingTasksTable from "./AggregatingTasksTable";
|
||||||
import { useHistory } from "react-router-dom";
|
import { useHistory } from "react-router-dom";
|
||||||
import { queueDetailsPath, taskDetailsPath } from "../paths";
|
import { queueDetailsPath, taskDetailsPath } from "../paths";
|
||||||
import { QueueInfo } from "../reducers/queuesReducer";
|
import { QueueInfo } from "../reducers/queuesReducer";
|
||||||
@ -229,7 +229,7 @@ function TasksTable(props: Props & ReduxProps) {
|
|||||||
/>
|
/>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel value="aggregating" selected={props.selected}>
|
<TabPanel value="aggregating" selected={props.selected}>
|
||||||
<TaskGroupsTable queue={props.queue} />
|
<AggregatingTasksTable queue={props.queue} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel value="scheduled" selected={props.selected}>
|
<TabPanel value="scheduled" selected={props.selected}>
|
||||||
<ScheduledTasksTable
|
<ScheduledTasksTable
|
||||||
|
Loading…
Reference in New Issue
Block a user