From 3803a16bf5f989dc6f670e5321baa9a60139d7c2 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Thu, 5 Sep 2024 01:16:28 -0600 Subject: [PATCH] feat: download json log --- .../dashboard/requests/requests-table.tsx | 31 +++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/requests/requests-table.tsx b/apps/dokploy/components/dashboard/requests/requests-table.tsx index 40661447b..f1b140b78 100644 --- a/apps/dokploy/components/dashboard/requests/requests-table.tsx +++ b/apps/dokploy/components/dashboard/requests/requests-table.tsx @@ -49,6 +49,8 @@ import { } from "lucide-react"; import { ScrollArea } from "@/components/ui/scroll-area"; import { DataTableFacetedFilter } from "./status-request-filter"; +import copy from "copy-to-clipboard"; +import { toast } from "sonner"; export const priorities = [ { @@ -318,7 +320,13 @@ export const RequestsTable = () => { {key === "RequestAddr" ? (