We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b3fb23 commit 24762a4Copy full SHA for 24762a4
app/components/badge-appveyor.js
@@ -12,7 +12,7 @@ export default Component.extend({
12
imageUrl: computed('badge.attributes.id', function() {
13
let id = this.get('badge.attributes.id');
14
let branch = this.get('branch');
15
- if (id !== undefined || id !== null) {
+ if (id !== undefined && id !== null) {
16
return `https://ci.appveyor.com/api/projects/status/${id}/branch/${branch}?svg=true`;
17
} else {
18
let service = this.get('service');
0 commit comments