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:
Tobias Henkel 2019-03-30 16:32:17 +01:00
parent 95625df196
commit 7c7ee2cfa1
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
1 changed files with 1 additions and 9 deletions

View File

@ -236,15 +236,7 @@ class ChangePanel extends React.Component {
name = <a className='zuul-job-name' href={job.report_url}>{job.name}</a>
} else if (job.url !== null) {
let url = job.url
// TODO: remove that first if block when
// 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/')) {
if (job.url.match('stream/')) {
const to = (
tenant.linkPrefix + '/' + job.url
)