Resolve todo after stream.html to stream renaming
The change I074b3a88a893e04d504e9cf21ced14ba86efc7ec has merged months ago so we can resolve that todo now. Change-Id: I14b71bfc2c6f8ff3d0777f65e83ee65662d0bcc9
This commit is contained in:
parent
95625df196
commit
7c7ee2cfa1
|
@ -236,15 +236,7 @@ class ChangePanel extends React.Component {
|
||||||
name = <a className='zuul-job-name' href={job.report_url}>{job.name}</a>
|
name = <a className='zuul-job-name' href={job.report_url}>{job.name}</a>
|
||||||
} else if (job.url !== null) {
|
} else if (job.url !== null) {
|
||||||
let url = job.url
|
let url = job.url
|
||||||
// TODO: remove that first if block when
|
if (job.url.match('stream/')) {
|
||||||
// I074b3a88a893e04d504e9cf21ced14ba86efc7ec is merged
|
|
||||||
if (job.url.match('stream.html')) {
|
|
||||||
const buildUuid = job.url.split('?')[1].split('&')[0].split('=')[1]
|
|
||||||
const to = (
|
|
||||||
tenant.linkPrefix + '/stream/' + buildUuid + '?logfile=console.log'
|
|
||||||
)
|
|
||||||
name = <Link className='zuul-job-name' to={to}>{job.name}</Link>
|
|
||||||
} else if (job.url.match('stream/')) {
|
|
||||||
const to = (
|
const to = (
|
||||||
tenant.linkPrefix + '/' + job.url
|
tenant.linkPrefix + '/' + job.url
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue