Skip to content

Commit

Permalink
✨ Update stakeholder groups table to use ActionsColumn (#2095)
Browse files Browse the repository at this point in the history
Addition ActionsColumn to  Stakeholder groups table
Relates to #1318
UI tests PR: 1222

Signed-off-by: MiriSafra <[email protected]>
  • Loading branch information
MiriSafra authored Sep 26, 2024
1 parent f389539 commit c04bb35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import {
} from "@app/queries/stakeholdergroups";
import { NotificationsContext } from "@app/components/NotificationsContext";
import { StakeholderGroupForm } from "./components/stakeholder-group-form";
import { AppTableActionButtons } from "@app/components/AppTableActionButtons";
import { ConditionalRender } from "@app/components/ConditionalRender";
import { AppPlaceholder } from "@app/components/AppPlaceholder";
import { ConfirmDialog } from "@app/components/ConfirmDialog";
Expand All @@ -52,6 +51,7 @@ import {
import { useLocalTableControls } from "@app/hooks/table-controls";
import spacing from "@patternfly/react-styles/css/utilities/Spacing/spacing";
import CubesIcon from "@patternfly/react-icons/dist/js/icons/cubes-icon";
import { ControlTableActionButtons } from "../ControlTableActionButtons";

export const StakeholderGroups: React.FC = () => {
const { t } = useTranslation();
Expand Down Expand Up @@ -284,7 +284,7 @@ export const StakeholderGroups: React.FC = () => {
>
{stakeholderGroup.stakeholders?.length}
</Td>
<AppTableActionButtons
<ControlTableActionButtons
onEdit={() =>
setCreateUpdateModalState(stakeholderGroup)
}
Expand Down

0 comments on commit c04bb35

Please sign in to comment.