mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: last seen instance with timezone (#6376)
This commit is contained in:
parent
2bf46d9369
commit
3aff5d80a0
@ -1,5 +1,4 @@
|
||||
import { FC, useEffect, useMemo } from 'react';
|
||||
import { formatDateYMDHMS } from 'utils/formatDate';
|
||||
import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
|
||||
import { useConnectedInstancesTable } from './useConnectedInstancesTable';
|
||||
import { ConnectedInstancesTable } from './ConnectedInstancesTable';
|
||||
@ -55,7 +54,7 @@ export const ConnectedInstances: FC = () => {
|
||||
instanceId,
|
||||
ip: clientIp || '',
|
||||
sdkVersion: sdkVersion || '',
|
||||
lastSeen: lastSeen ? formatDateYMDHMS(lastSeen) : '',
|
||||
lastSeen: lastSeen || '',
|
||||
});
|
||||
if (!currentEnvironment) {
|
||||
return [];
|
||||
|
@ -2,7 +2,7 @@ import { useMemo } from 'react';
|
||||
import { HighlightCell } from 'component/common/Table/cells/HighlightCell/HighlightCell';
|
||||
import { useTable, useGlobalFilter, useSortBy } from 'react-table';
|
||||
import { sortTypes } from 'utils/sortTypes';
|
||||
import { TimeAgoCell } from '../../common/Table/cells/TimeAgoCell/TimeAgoCell';
|
||||
import { TimeAgoCell } from 'component/common/Table/cells/TimeAgoCell/TimeAgoCell';
|
||||
|
||||
type ConnectedInstancesTableData = {
|
||||
instanceId: string;
|
||||
|
Loading…
Reference in New Issue
Block a user