diff --git a/apps/client/app/modules/repositories/tabs/info.tsx b/apps/client/app/modules/repositories/tabs/info.tsx index d2d8507..59c89ad 100644 --- a/apps/client/app/modules/repositories/tabs/info.tsx +++ b/apps/client/app/modules/repositories/tabs/info.tsx @@ -30,7 +30,7 @@ export const RepositoryInfoTabContent = ({ repository }: Props) => {
Created At
-

{new Date(repository.createdAt).toLocaleString()}

+

{new Date(repository.createdAt * 1000).toLocaleString()}

Last Checked
diff --git a/apps/client/app/modules/repositories/tabs/snapshots.tsx b/apps/client/app/modules/repositories/tabs/snapshots.tsx index 8bc21cf..8a1dd92 100644 --- a/apps/client/app/modules/repositories/tabs/snapshots.tsx +++ b/apps/client/app/modules/repositories/tabs/snapshots.tsx @@ -2,7 +2,6 @@ import { useQuery } from "@tanstack/react-query"; import { Database } from "lucide-react"; import { useState } from "react"; import { listSnapshotsOptions } from "~/api-client/@tanstack/react-query.gen"; -import { ByteSize } from "~/components/bytes-size"; import { SnapshotsTable } from "~/components/snapshots-table"; import { Button } from "~/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "~/components/ui/card"; @@ -33,7 +32,7 @@ export const RepositorySnapshotsTabContent = ({ repository }: Props) => { ); }); - const hasNoFilteredSnapshots = !filteredSnapshots?.length && !data.length; + const hasNoFilteredSnapshots = !filteredSnapshots?.length; if (repository.status === "error") { return ( @@ -143,18 +142,6 @@ export const RepositorySnapshotsTabContent = ({ repository }: Props) => { ? "No snapshots match filters." : `Showing ${filteredSnapshots.length} of ${data.length}`} - {!hasNoFilteredSnapshots && ( - - Total size:  - - sum + s.size, 0)} - base={1024} - maximumFractionDigits={1} - /> - - - )}
); diff --git a/apps/server/src/index.ts b/apps/server/src/index.ts index 13d8edc..fd5da97 100644 --- a/apps/server/src/index.ts +++ b/apps/server/src/index.ts @@ -99,7 +99,6 @@ export type AppType = typeof app; process.on("SIGTERM", async () => { logger.info("SIGTERM received, starting graceful shutdown..."); - await shutdown(); process.exit(0); });