0ccc8467ec
Adds replication engine and core in-repo addon
18 lines
408 B
JavaScript
18 lines
408 B
JavaScript
import Component from '@ember/component';
|
|
import { computed } from '@ember/object';
|
|
import layout from '../templates/components/toolbar-link';
|
|
|
|
export default Component.extend({
|
|
layout,
|
|
tagName: '',
|
|
supportsDataTestProperties: true,
|
|
type: null,
|
|
glyph: computed('type', function() {
|
|
if (this.type == 'add') {
|
|
return 'plus-plain';
|
|
} else {
|
|
return 'chevron-right';
|
|
}
|
|
}),
|
|
});
|