update types
This commit is contained in:
parent
4a58d1be82
commit
18436febe3
|
@ -90,7 +90,7 @@ function GridItem({ t, server, hideTooltip = true }: Props) {
|
|||
params={{ key: server.key }}
|
||||
>
|
||||
{server.key}{' '}
|
||||
{ServerStatus.CLOSED === server.status
|
||||
{ServerStatus.closed === server.status
|
||||
? `(${t(
|
||||
NAMESPACES.COMMON + `:serverStatus.${server.status}`
|
||||
).toLowerCase()})`
|
||||
|
|
|
@ -10,7 +10,7 @@ const ctx = createContext<Server>({
|
|||
dataUpdatedAt: new Date(0).toJSON(),
|
||||
historyUpdatedAt: new Date(0).toJSON(),
|
||||
statsUpdatedAt: new Date(0).toJSON(),
|
||||
status: ServerStatus.OPEN,
|
||||
status: ServerStatus.closed,
|
||||
});
|
||||
|
||||
export default ctx;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user