Learn more about these different git repos.
Other Git URLs
6403f10
@@ -38,7 +38,6 @@
url=urltmpl.format(issue['id']),
updated_at=issue['last_change_time'],
service='bugzilla',
- icon='https://bugzilla.redhat.com/favicon.ico'
))
total_count = len(response['result']['bugs'])
return [res, total_count]
@@ -90,7 +89,6 @@
url=urltmpl.format(issue['project']['url_path'], issue['id']),
updated_at=issue['last_updated'],
service='pagure',
- icon='https://pagure.io/static/favicon.ico'
total_count = len(response['issues_created'] if author
else response['issues_assigned'])
@@ -149,7 +147,6 @@
url=issue['html_url'],
updated_at=issue['updated_at'],
service='github',
- icon='https://github.com/favicon.ico'
total_count = response['total_count']
@@ -5,6 +5,7 @@
export default class Issue extends React.Component {
render() {
+ const icon = require(`./${this.props.issue.service}.png`);
return (
<li className="py-2">
<div className="row">
@@ -18,7 +19,7 @@
<div className="float-right">
<span>{this.props.issue.project}</span>
<img
- src={this.props.issue.icon}
+ src={icon}
style={{height: '16px'}}
className="ml-2"
alt=""
The remote service icons may not be available because of CORS restrictions.
LGTM! thanks
Pull-Request has been merged by abompard
The remote service icons may not be available because of CORS restrictions.