From df91c70491df406c98195fb711e0a2ecc5d1010f Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 21 Jul 2026 13:52:38 +0200 Subject: [PATCH] refactor(webui): host-render function row actions --- .../organizations/OrganizationsPage.tsx | 28 +++++++++++-------- webui/src/styles/organizations.css | 15 ---------- 2 files changed, 16 insertions(+), 27 deletions(-) diff --git a/webui/src/features/organizations/OrganizationsPage.tsx b/webui/src/features/organizations/OrganizationsPage.tsx index 9639706..c7923cc 100644 --- a/webui/src/features/organizations/OrganizationsPage.tsx +++ b/webui/src/features/organizations/OrganizationsPage.tsx @@ -22,7 +22,6 @@ import { type AuthInfo, type DataGridColumn, type ModuleSubnavGroup, - type OrganizationFunctionActionContribution, type OrganizationFunctionActionsUiCapability } from "@govoplan/core-webui"; import { @@ -919,20 +918,25 @@ export default function OrganizationsPage({ { id: "actions", header: "i18n:govoplan-organizations.actions.c3cd636a", - width: functionActionContributions.length ? 220 : 88, + width: 88 + (functionActionContributions.length * 40), sticky: "end", resizable: false, align: "right", - render: (row) => ( -
-
- ) + render: (row) =>