3c73ddd443
This allows us to add them anywhere in the app, and also to add more features, like e.g. hover info boxes, links, and so on.
11 lines
262 B
JavaScript
11 lines
262 B
JavaScript
import Component from '@ember/component';
|
|
import { alias } from '@ember/object/computed';
|
|
|
|
export default Component.extend({
|
|
contributor: null,
|
|
tagName: 'img',
|
|
classNames: ['avatar'],
|
|
attributeBindings: ['src'],
|
|
src: alias('contributor.avatarURL')
|
|
});
|