diff --git a/libs/pages/logs/environment/src/lib/ui/pod-logs/pod-logs.tsx b/libs/pages/logs/environment/src/lib/ui/pod-logs/pod-logs.tsx index 9ecec200f5d..190669e0aad 100644 --- a/libs/pages/logs/environment/src/lib/ui/pod-logs/pod-logs.tsx +++ b/libs/pages/logs/environment/src/lib/ui/pod-logs/pod-logs.tsx @@ -33,7 +33,7 @@ export function PodLogs(props: PodLogsProps) { const tableHead: TableHeadProps[] = [ { title: 'Pod name', - className: 'ml-14 pr-4 py-2 h-full text-text-300 w-[198px]', + className: 'ml-14 pr-4 py-2 h-full text-text-300 w-[208px]', classNameTitle: 'text-text-300', menuWidth: 360, filter: [ diff --git a/libs/pages/logs/environment/src/lib/ui/row-pod/row-pod.tsx b/libs/pages/logs/environment/src/lib/ui/row-pod/row-pod.tsx index 97434d94ca3..1fd12fbd52c 100644 --- a/libs/pages/logs/environment/src/lib/ui/row-pod/row-pod.tsx +++ b/libs/pages/logs/environment/src/lib/ui/row-pod/row-pod.tsx @@ -1,7 +1,15 @@ import { Log } from 'qovery-typescript-axios' import { useContext } from 'react' import { UpdateTimeContext } from '@qovery/shared/console-shared' -import { Icon, IconAwesomeEnum, TableFilterProps, TableRowFilter, Tooltip, convertToAnsi } from '@qovery/shared/ui' +import { + CopyToClipboard, + Icon, + IconAwesomeEnum, + TableFilterProps, + TableRowFilter, + Tooltip, + convertToAnsi, +} from '@qovery/shared/ui' import { dateFullFormat } from '@qovery/shared/utils' const COLORS = [ @@ -73,26 +81,26 @@ export function RowPod(props: RowPodProps) {
{data.pod_name && data.pod_name && ( - - - {data.pod_name && data.pod_name.length > 23 - ? `${data.pod_name?.substring(0, 10)}...${data.pod_name?.slice(-10)}` - : data.pod_name} - - + + {data.pod_name && data.pod_name.length > 23 + ? `${data.pod_name?.substring(0, 10)}...${data.pod_name?.slice(-10)}` + : data.pod_name} + + )} {!data.pod_name && !data.message.includes('No pods found' || '') && NGINX} {!data.pod_name && data.message.includes('No pods found' || '') && undefined}
{data.version && ( - + {formatVersion(data.version)} + )}