diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 8afcd9c..d6e9941 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -93,22 +93,22 @@ export const Header: FC = ({ client }) => {

Home

-

{_.truncate(currentInstance?.name, { length: 20 })}

+

{_.truncate(currentInstance?.name, { length: 16 })}

#{currentInstance.id}

- + Host: {_.truncate(currentInstance?.host, { length: 40 })} -

Last Updated: {getTimeText(stats?.lastUpdate)}

- - Database Size: {_.ceil((stats?.databaseSize ?? 0) / 1048576, 2)} MB +

Updated: {getTimeText(stats?.lastUpdate)}

+ + DB Size: {_.ceil((stats?.databaseSize ?? 0) / 1048576, 2)} MB - + Status: {health ? 'Available' : 'Unknown'} - Meili Version: {version?.pkgVersion} + Meili Version: {version?.pkgVersion} Commit Date: {version?.commitDate}
diff --git a/src/pages/key/index.tsx b/src/pages/key/index.tsx index 98396a9..5f57dad 100644 --- a/src/pages/key/index.tsx +++ b/src/pages/key/index.tsx @@ -135,7 +135,7 @@ function Keys() {
{t.indexes.map((index) => ( - + {index} ))} @@ -144,14 +144,16 @@ function Keys() {
{t.actions.map((action) => ( - + {action} ))}
{getTimeText(t.createdAt)} - {getTimeText(t.updateAt)} + {/* meilisearch package type typos */} + {/* @ts-ignore */} + {getTimeText(t.updatedAt)} {getTimeText(t.expiresAt, { defaultText: 'Forever' })}