diff --git a/src/views/pods/index.vue b/src/views/pods/index.vue index e0279bd..c6ae23a 100644 --- a/src/views/pods/index.vue +++ b/src/views/pods/index.vue @@ -83,18 +83,18 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP const buckets = (slice?: number) => { const consumerBuckets = slice ? row.consumerBuckets?.slice(0, slice) : row.consumerBuckets; return consumerBuckets?.map(bucket => ( - + {bucket} )); }; const path = () => { - return {row.contextPath}; + return {row.contextPath ?? '/'}; }; return row.nodeType === 1 ? ( - <>path: {path()} + <>Path: {path()} ) : ( <> Bucket: @@ -103,7 +103,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP {{ trigger: () => ..., default: () => { - return
{buckets()}
; + return
{buckets()}
; } }}