From fa0298b4d874fe8d141218bc7600131f303559dc Mon Sep 17 00:00:00 2001 From: loveuer Date: Thu, 13 Nov 2025 11:27:49 +0800 Subject: [PATCH] fix: add Actions column to all resource table headers --- frontend/src/pages/K8sResourceList.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/K8sResourceList.tsx b/frontend/src/pages/K8sResourceList.tsx index d3ae719..9699626 100644 --- a/frontend/src/pages/K8sResourceList.tsx +++ b/frontend/src/pages/K8sResourceList.tsx @@ -316,7 +316,7 @@ export default function K8sResourceList() { return ['Name', 'Status', 'Age'] case 'deployment': case 'statefulset': - return ['Name', 'Namespace', 'Replicas', 'Age'] + return ['Name', 'Namespace', 'Replicas', 'Age', 'Actions'] case 'service': return ['Name', 'Namespace', 'Type', 'Cluster IP', 'External IP', 'Ports', 'Age', 'Actions'] case 'configmap': @@ -324,11 +324,11 @@ export default function K8sResourceList() { case 'pod': return ['Name', 'Namespace', 'Status', 'IP', 'Node', 'Age', 'Actions'] case 'pv': - return ['Name', 'Capacity', 'Access Modes', 'Status', 'Claim', 'Age'] + return ['Name', 'Capacity', 'Access Modes', 'Status', 'Claim', 'Age', 'Actions'] case 'pvc': - return ['Name', 'Namespace', 'Status', 'Volume', 'Capacity', 'Access Modes', 'Age'] + return ['Name', 'Namespace', 'Status', 'Volume', 'Capacity', 'Access Modes', 'Age', 'Actions'] default: - return ['Name'] + return ['Name', 'Actions'] } }