Skip to content
Snippets Groups Projects
Unverified Commit f635fbde authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Fixes if case to render author info in releases

parent c64f08ca
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -45,7 +45,7 @@ export default {
return this.release.author || {};
},
hasAuthor() {
return _.isEmpty(this.author);
return !_.isEmpty(this.author);
},
},
};
Loading
Loading
Loading
Loading
@@ -133,4 +133,8 @@ describe('Release block', () => {
release.assets.links[0].name,
);
});
it('renders author avatar', () => {
expect(vm.$el.querySelector('.user-avatar-link')).not.toBeNull();
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment