From c13cba0d5dbc3e7e7f064107cd7b95b9ead585c4 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Sat, 26 Mar 2022 14:04:55 -0700 Subject: [PATCH] (ui): Rename TaskGroupsTable to AggregatingTasksTable --- .../{TaskGroupsTable.tsx => AggregatingTasksTable.tsx} | 6 ++++-- ui/src/components/TasksTable.tsx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) rename ui/src/components/{TaskGroupsTable.tsx => AggregatingTasksTable.tsx} (99%) diff --git a/ui/src/components/TaskGroupsTable.tsx b/ui/src/components/AggregatingTasksTable.tsx similarity index 99% rename from ui/src/components/TaskGroupsTable.tsx rename to ui/src/components/AggregatingTasksTable.tsx index 6743b31..bcfc5de 100644 --- a/ui/src/components/TaskGroupsTable.tsx +++ b/ui/src/components/AggregatingTasksTable.tsx @@ -89,7 +89,9 @@ const columns: TableColumn[] = [ { key: "actions", label: "Actions", align: "center" }, ]; -function TaskGroupsTable(props: Props & ConnectedProps) { +function AggregatingTasksTable( + props: Props & ConnectedProps +) { const [selectedGroup, setSelectedGroup] = React.useState( null ); @@ -427,4 +429,4 @@ function Row(props: RowProps) { ); } -export default connector(TaskGroupsTable); +export default connector(AggregatingTasksTable); diff --git a/ui/src/components/TasksTable.tsx b/ui/src/components/TasksTable.tsx index f22c1c2..028df4c 100644 --- a/ui/src/components/TasksTable.tsx +++ b/ui/src/components/TasksTable.tsx @@ -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) { /> - +