Skip to content

Commit

Permalink
delete log
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 committed Sep 13, 2023
1 parent 1e87680 commit 67c56f2
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -14,15 +14,14 @@ export default function AppBaseInfo({ appName }: { appName: string }) {
const { data, isLoading } = useQuery(['getJobListEventsAndLogs', appName], () =>
getJobListEventsAndLogs(appName)
);
console.log(data);

const ActivePod = useMemo(() => data?.history[active], [active, data?.history]);
console.log(ActivePod, 'activePod');

return (
<Flex flexDirection={'column'} h="0" flex={1} position={'relative'}>
<Flex
alignItems={'center'}
p={'20px 32px'}
p={'18px 32px'}
justifyContent={'space-between'}
borderBottom={'1px solid #EFF0F1'}
>
Expand Down Expand Up @@ -93,7 +92,7 @@ export default function AppBaseInfo({ appName }: { appName: string }) {
</Box>
<Box flex={1} overflowY={'auto'} mt="24px" ml="28px">
<Text>
{t('Log')} (pod: {ActivePod?.name})
{t('Log')} (pod: {ActivePod?.podName})
</Text>
<Box
whiteSpace={'pre'}
Expand Down

0 comments on commit 67c56f2

Please sign in to comment.