Placement group not found.
+ >
+ )
+ }
+
+ return (
+ <>
+
+
+
+ }
+ title="EC2 Placement Groups"
+ />
+
+ {placementGroups.length > 0 ? (
+
+ {placementGroups.map((pg: PlacementGroup) => {
+ if (!pg.GroupId) {
+ return null
+ }
+ return (
+ }
+ key={pg.GroupId}
+ params={{ id: pg.GroupId }}
+ subtitle={`${pg.Strategy} \u2022 ${pg.GroupId}`}
+ title={pg.GroupName ?? pg.GroupId}
+ to="/ec2/describe-placement-groups/$id"
+ />
+ )
+ })}
+
+ ) : (
+ No placement groups found.
+ )}
+ >
+ )
+}
diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx
index 56d681825..01da69789 100644
--- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx
+++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx
@@ -30,7 +30,7 @@ import {
SelectTrigger,
SelectValue,
} from "@/components/ui/select"
-import { formatDateTime } from "@/lib/utils"
+import { formatDateTime, getNameTag } from "@/lib/utils"
import {
useAttachVolume,
useDeleteVolume,
@@ -319,9 +319,7 @@ function VolumeDetail() {
{runningInstances.map((instance) => {
- const name = instance.Tags?.find(
- (t) => t.Key === "Name",
- )?.Value
+ const name = getNameTag(instance.Tags)
return (