File tree 2 files changed +8
-1
lines changed
src/main/frontend/pipeline-console-view/pipeline-console/main
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,11 @@ export class ConsoleLogCard extends React.Component<
104
104
< Grid item xs = { 6 } sm className = "show-more-console" >
105
105
< Button
106
106
variant = "text"
107
- sx = { { padding : "0px" , textTransform : "none" } }
107
+ sx = { {
108
+ padding : "0px" ,
109
+ textTransform : "none" ,
110
+ marginLeft : "0.25rem" ,
111
+ } }
108
112
onClick = { ( ) => {
109
113
let startByte =
110
114
this . props . stepBuffer . startByte - LOG_FETCH_SIZE ;
@@ -276,6 +280,7 @@ export class ConsoleLogCard extends React.Component<
276
280
logBuffer = { this . props . stepBuffer }
277
281
handleMoreConsoleClick = { this . props . handleMoreConsoleClick }
278
282
step = { this . props . step }
283
+ truncatedLogWarning = { this . getTruncatedLogWarning ( ) }
279
284
maxHeightScale = { 0.85 }
280
285
open = { this . state . open }
281
286
setClose = { handleClose }
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export interface ConsoleLogModelProps {
7
7
logBuffer : StepLogBufferInfo ;
8
8
handleMoreConsoleClick : ( nodeId : string , startByte : number ) => void ;
9
9
step : StepInfo ;
10
+ truncatedLogWarning : React . JSX . Element | undefined ;
10
11
maxHeightScale : number ;
11
12
setClose : ( ) => void ;
12
13
open : boolean ;
@@ -71,6 +72,7 @@ export default function ConsoleLogModal(props: ConsoleLogModelProps) {
71
72
</ Stack >
72
73
</ Typography >
73
74
< CloseIcon onClick = { handleClose } />
75
+ < div > { props . truncatedLogWarning } </ div >
74
76
< ConsoleLogStream { ...props } />
75
77
</ Box >
76
78
</ Modal >
You can’t perform that action at this time.
0 commit comments