mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-15 11:07:00 +02:00
14 lines
289 B
JavaScript
14 lines
289 B
JavaScript
import OuterHTML from './outer-html';
|
|
import { computed } from '@ember/object';
|
|
|
|
export default OuterHTML.extend({
|
|
glyph: computed('type', function() {
|
|
if (this.type == 'add') {
|
|
return 'plus-plain';
|
|
} else {
|
|
return 'chevron-right';
|
|
}
|
|
}),
|
|
tagName: 'span',
|
|
});
|