Name
@@ -63,7 +63,7 @@ const ObjectList = ({ prefix, onPrefixChange }: Props) => {
))}
- {data?.objects.map((object) => {
+ {data?.objects.map((object, idx) => {
const extIdx = object.objectKey.lastIndexOf(".");
const filename =
extIdx >= 0
@@ -93,7 +93,11 @@ const ObjectList = ({ prefix, onPrefixChange }: Props) => {
{dayjs(object.lastModified).fromNow()}
|
-
+ = data.objects.length - 2}
+ />
);
})}
diff --git a/src/pages/cluster/components/nodes-list.tsx b/src/pages/cluster/components/nodes-list.tsx
index 414c9c2..da93c63 100644
--- a/src/pages/cluster/components/nodes-list.tsx
+++ b/src/pages/cluster/components/nodes-list.tsx
@@ -184,7 +184,7 @@ const NodesList = ({ nodes }: NodeListProps) => {
) : null}
-
+
#
@@ -266,7 +266,10 @@ const NodesList = ({ nodes }: NodeListProps) => {
: "Inactive"}
-
+ = items.length - 2 ? "top" : "bottom"}
+ >