update types

This commit is contained in:
Dawid Wysokiński 2021-03-24 05:29:51 +01:00
parent 4a58d1be82
commit 18436febe3
3 changed files with 546 additions and 544 deletions

View File

@ -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()})`

View File

@ -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