mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-18 18:55:54 +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" },
|
||||
];
|
||||
|
||||
function TaskGroupsTable(props: Props & ConnectedProps<typeof connector>) {
|
||||
function AggregatingTasksTable(
|
||||
props: Props & ConnectedProps<typeof connector>
|
||||
) {
|
||||
const [selectedGroup, setSelectedGroup] = React.useState<GroupInfo | 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 ArchivedTasksTable from "./ArchivedTasksTable";
|
||||
import CompletedTasksTable from "./CompletedTasksTable";
|
||||
import TaskGroupsTable from "./TaskGroupsTable";
|
||||
import AggregatingTasksTable from "./AggregatingTasksTable";
|
||||
import { useHistory } from "react-router-dom";
|
||||
import { queueDetailsPath, taskDetailsPath } from "../paths";
|
||||
import { QueueInfo } from "../reducers/queuesReducer";
|
||||
@ -229,7 +229,7 @@ function TasksTable(props: Props & ReduxProps) {
|
||||
/>
|
||||
</TabPanel>
|
||||
<TabPanel value="aggregating" selected={props.selected}>
|
||||
<TaskGroupsTable queue={props.queue} />
|
||||
<AggregatingTasksTable queue={props.queue} />
|
||||
</TabPanel>
|
||||
<TabPanel value="scheduled" selected={props.selected}>
|
||||
<ScheduledTasksTable
|
||||
|
Loading…
Reference in New Issue
Block a user