mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 21:31:11 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -1932,8 +1932,7 @@ export const HandleNotifications = ({ notificationId }: Props) => {
|
||||
<div className="space-y-0.5">
|
||||
<FormLabel>Docker Cleanup</FormLabel>
|
||||
<FormDescription>
|
||||
Trigger the action when Docker cleanup is
|
||||
performed.
|
||||
Trigger the action when Docker cleanup is performed.
|
||||
</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
|
||||
@@ -22,8 +22,11 @@ import { api } from "@/utils/api";
|
||||
import { DialogAction } from "@/components/shared/dialog-action";
|
||||
|
||||
export const ShowSessions = () => {
|
||||
const { data: sessions, isPending, refetch } =
|
||||
api.user.listSessions.useQuery();
|
||||
const {
|
||||
data: sessions,
|
||||
isPending,
|
||||
refetch,
|
||||
} = api.user.listSessions.useQuery();
|
||||
const { mutateAsync: revoke, isPending: isRevoking } =
|
||||
api.user.revokeSession.useMutation();
|
||||
|
||||
@@ -160,9 +163,7 @@ const SessionTable = ({
|
||||
{s.ipAddress || "-"}
|
||||
</TableCell>
|
||||
<TableCell className="hidden lg:table-cell max-w-[200px] truncate text-sm text-muted-foreground">
|
||||
{s.userAgent
|
||||
? parseUserAgent(s.userAgent)
|
||||
: "-"}
|
||||
{s.userAgent ? parseUserAgent(s.userAgent) : "-"}
|
||||
</TableCell>
|
||||
<TableCell className="text-sm text-muted-foreground">
|
||||
{format(new Date(s.createdAt), "MMM d, HH:mm")}
|
||||
|
||||
Reference in New Issue
Block a user