This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Description
What steps did you take and what happened:
- Create a table with at least one row
- Create GridAction with two actions for each row
- Open any row's GridAction menu
- The first button is always highlighted

podRow := component.TableRow{
"Name": component.NewLink(pod.GetName(), pod.GetName(), fmt.Sprintf("/overview/namespace/default/workloads/pods/%s", pod.GetName())),
"Labels": component.NewLabels(nil),
}
podActions := []component.GridAction{{
Name: "Delete",
ActionPath: "example.org/pods/delete",
}, {
Name: "Force Delete",
ActionPath: "example.org/pods/force-delete",
}}
for _, action := range podActions {
podRow.AddAction(action)
}
podTable.Add(podRow)
What did you expect to happen:
All action items should look the same unless specified.
Environment:
- Octant version (use
octant version): 0.25.1
- Kubernetes version (use
kubectl version): 1.23.5
- OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): Fedora 35