Added padding

main
Boris Sekachev 6 years ago
parent 1fc7e45f51
commit 83215b34cf

@ -139,7 +139,7 @@ export default class CVATApplication extends React.PureComponent<CVATAppProps> {
/>
),
duration: null,
description: error.length > 200 ? '' : error,
description: error.length > 200 ? 'Open console to details (F12, Console tab)' : error,
});
console.error(error);

@ -136,7 +136,7 @@ export default function JobListComponent(props: Props): JSX.Element {
for (const job of taskInstance.jobs) {
serialized += `Job #${job.id}`.padEnd(`${latestJob.id}`.length + 6, ' ');
serialized += `: ${baseURL}/?id=${job.id}`
.padEnd(`${latestJob.id}`.length + baseURL.length + 7, ' ');
.padEnd(`${latestJob.id}`.length + baseURL.length + 8, ' ');
serialized += `: [${job.startFrame}-${job.stopFrame}]`
.padEnd(`${latestJob.startFrame}${latestJob.stopFrame}`.length + 5, ' ');

Loading…
Cancel
Save