diff --git a/striker-ui/components/Hosts/AnvilHost.tsx b/striker-ui/components/Hosts/AnvilHost.tsx
index 1d013707..b50e3038 100644
--- a/striker-ui/components/Hosts/AnvilHost.tsx
+++ b/striker-ui/components/Hosts/AnvilHost.tsx
@@ -73,89 +73,84 @@ const AnvilHost = ({
return (
{hosts &&
- hosts.map(
- (host): JSX.Element => {
- return (
-
-
-
-
-
-
-
-
-
-
-
- c.toUpperCase(),
- ) || 'Not Available'
- }
- />
-
-
-
-
-
-
-
+ hosts.map((host): JSX.Element => {
+ return (
+
+
+
-
- putFetch(
- `${process.env.NEXT_PUBLIC_API_URL}/set_power`,
- {
- host_uuid: host.host_uuid,
- is_on: !(host.state === 'online'),
- },
- )
- }
- />
+
-
-
+
+
-
- putFetch(
- `${process.env.NEXT_PUBLIC_API_URL}/set_membership`,
- {
- host_uuid: host.host_uuid,
- is_member: !(host.state === 'online'),
- },
- )
+
+ c.toUpperCase(),
+ ) || 'Not Available'
}
/>
- {host.state !== 'online' && host.state !== 'offline' && (
- <>
-
-
-
-
+
+
+
+
+
+
+
+ putFetch(`${process.env.NEXT_PUBLIC_API_URL}/set_power`, {
+ host_uuid: host.host_uuid,
+ is_on: !(host.state === 'online'),
+ })
+ }
+ />
+
+
+
+
+
+
+ putFetch(
+ `${process.env.NEXT_PUBLIC_API_URL}/set_membership`,
+ {
+ host_uuid: host.host_uuid,
+ is_member: !(host.state === 'online'),
+ },
+ )
+ }
+ />
+
+
+ {host.state !== 'online' && host.state !== 'offline' && (
+ <>
+
+
+
-
-
-
-
+
+
+
+
- >
- )}
-
- );
- },
- )}
+
+ >
+ )}
+
+ );
+ })}
);
};
diff --git a/striker-ui/components/Resource/ResourceVolumes.tsx b/striker-ui/components/Resource/ResourceVolumes.tsx
index a7ee79b4..2903a723 100644
--- a/striker-ui/components/Resource/ResourceVolumes.tsx
+++ b/striker-ui/components/Resource/ResourceVolumes.tsx
@@ -78,49 +78,41 @@ const ResourceVolumes = ({
- {volume.connections.map(
- (connection, index): JSX.Element => {
- return (
- <>
-
-
-
+ {volume.connections.map((connection, index): JSX.Element => {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
- {volume.connections.length - 1 !== index ? (
-
- ) : null}
- >
- );
- },
- )}
+
+ {volume.connections.length - 1 !== index ? (
+
+ ) : null}
+ >
+ );
+ })}
);
})}