kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix the "output truncated at undefined lines" message
rodzic
446fdb7987
commit
a81583d37b
|
@ -132,7 +132,7 @@ class Console extends React.Component {
|
||||||
let lines = this.state.lines;
|
let lines = this.state.lines;
|
||||||
if (this.props.maximumLines && lines.length > this.props.maximumLines){
|
if (this.props.maximumLines && lines.length > this.props.maximumLines){
|
||||||
lines = lines.slice(-this.props.maximumLines);
|
lines = lines.slice(-this.props.maximumLines);
|
||||||
lines.unshift('... ' + interpolate(_("output truncated at %(count)s lines"), { lines: this.props.maximumLines }) + ' ...');
|
lines.unshift('... ' + interpolate(_("output truncated at %(count)s lines"), { count: this.props.maximumLines }) + ' ...');
|
||||||
}
|
}
|
||||||
|
|
||||||
const items = [
|
const items = [
|
||||||
|
|
Ładowanie…
Reference in New Issue