diff --git a/src/Routes/Tables/Jobs/NodeLogs.js b/src/Routes/Tables/Jobs/NodeLogs.js index 395a96ecd..fa8c92b4b 100644 --- a/src/Routes/Tables/Jobs/NodeLogs.js +++ b/src/Routes/Tables/Jobs/NodeLogs.js @@ -6,7 +6,6 @@ import { CopyToClipboard } from 'react-copy-to-clipboard'; import styled from 'styled-components'; import { notification } from 'utils'; import { logModes, podStatus } from '@hkube/consts'; -import BaseTag from 'components/BaseTag'; import { COLOR_TASK_STATUS } from 'styles/colors'; import { @@ -243,8 +242,10 @@ const NodeLogs = ({ alignContent: 'left', flexWrap: 'nowrap', width: '150px', - justifyContent: 'space-between', - alignItems: 'center', + justifyContent: + taskDetails.length < 2 ? 'start' : 'space-between', + alignItems: 'left', + color: COLOR_TASK_STATUS[oTask.status || node.status], borderColor: openPopupOverListTasks ? '#0070ff' : COLOR_TASK_STATUS[oTask.status || node.status], @@ -252,19 +253,6 @@ const NodeLogs = ({ shape="round" icon={taskDetails.length < 2 ? '' : } disabled={taskDetails.length < 2}> - {oTask?.status && ( - - {oTask?.status - ? oTask?.status === 'succeed' - ? 'c' - : oTask?.status[0] - : ''} - - )} {currentTask || 'Select an item'} diff --git a/src/Routes/Tables/Jobs/graphUtils/nodes.js b/src/Routes/Tables/Jobs/graphUtils/nodes.js index 03a120b76..03bcd767c 100644 --- a/src/Routes/Tables/Jobs/graphUtils/nodes.js +++ b/src/Routes/Tables/Jobs/graphUtils/nodes.js @@ -201,7 +201,7 @@ export const formatNode = meta?.extra?.batch ? `${meta.nodeName} (${meta.extra.batch})` : `${meta.nodeName}` - } ${node.devMode ? 'devMode' : ''}`, + } ${node.devMode ? '(dev)' : ''}`, }; /** @type {NodeOptions} */ const batchStyling = isBatchStyling