mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-14 12:41:30 +00:00
18 lines
414 B
JavaScript
18 lines
414 B
JavaScript
![]() |
import Ember from 'ember';
|
||
|
|
||
|
const { Component, computed } = Ember;
|
||
|
|
||
|
export default Component.extend({
|
||
|
tagName: 'button',
|
||
|
|
||
|
classNames: ['compliance-auto-suggester-action'],
|
||
|
|
||
|
classNameBindings: ['isAffirmative:compliance-auto-suggester-action--accept'],
|
||
|
|
||
|
/**
|
||
|
* Determines the type of suggestion action this is
|
||
|
* if type property is passed in
|
||
|
*/
|
||
|
isAffirmative: computed.equal('type', 'accept')
|
||
|
});
|