mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-27 14:08:46 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -111,7 +111,7 @@ export const ShowDeployment = ({
|
|||||||
const handleCopy = async () => {
|
const handleCopy = async () => {
|
||||||
const logContent = filteredLogs
|
const logContent = filteredLogs
|
||||||
.map(({ timestamp, message }: LogLine) =>
|
.map(({ timestamp, message }: LogLine) =>
|
||||||
`${timestamp?.toISOString() || ""} ${message}`.trim()
|
`${timestamp?.toISOString() || ""} ${message}`.trim(),
|
||||||
)
|
)
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
import { Download as DownloadIcon, Check, Copy, Loader2, Pause, Play } from "lucide-react";
|
import {
|
||||||
|
Download as DownloadIcon,
|
||||||
|
Check,
|
||||||
|
Copy,
|
||||||
|
Loader2,
|
||||||
|
Pause,
|
||||||
|
Play,
|
||||||
|
} from "lucide-react";
|
||||||
import React, { useEffect, useRef } from "react";
|
import React, { useEffect, useRef } from "react";
|
||||||
import { AlertBlock } from "@/components/shared/alert-block";
|
import { AlertBlock } from "@/components/shared/alert-block";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
@@ -241,10 +248,16 @@ export const DockerLogsId: React.FC<Props> = ({
|
|||||||
const handleCopy = async () => {
|
const handleCopy = async () => {
|
||||||
const logContent = filteredLogs
|
const logContent = filteredLogs
|
||||||
.map(
|
.map(
|
||||||
({ timestamp, message }: { timestamp: Date | null; message: string }) =>
|
({
|
||||||
|
timestamp,
|
||||||
|
message,
|
||||||
|
}: {
|
||||||
|
timestamp: Date | null;
|
||||||
|
message: string;
|
||||||
|
}) =>
|
||||||
showTimestamp
|
showTimestamp
|
||||||
? `${timestamp?.toISOString() || "No timestamp"} ${message}`
|
? `${timestamp?.toISOString() || "No timestamp"} ${message}`
|
||||||
: message
|
: message,
|
||||||
)
|
)
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ export const ImpersonationBar = () => {
|
|||||||
<div className="flex items-center gap-4 flex-1 flex-wrap">
|
<div className="flex items-center gap-4 flex-1 flex-wrap">
|
||||||
<Avatar className="h-10 w-10">
|
<Avatar className="h-10 w-10">
|
||||||
<AvatarImage
|
<AvatarImage
|
||||||
className="object-cover"
|
className="object-cover"
|
||||||
src={data?.user?.image || ""}
|
src={data?.user?.image || ""}
|
||||||
alt={data?.user?.name || ""}
|
alt={data?.user?.name || ""}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export const UserNav = () => {
|
|||||||
>
|
>
|
||||||
<Avatar className="h-8 w-8 rounded-lg">
|
<Avatar className="h-8 w-8 rounded-lg">
|
||||||
<AvatarImage
|
<AvatarImage
|
||||||
className="object-cover"
|
className="object-cover"
|
||||||
src={data?.user?.image || ""}
|
src={data?.user?.image || ""}
|
||||||
alt={data?.user?.image || ""}
|
alt={data?.user?.image || ""}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user