mirror of https://github.com/rancher/ui.git
21 lines
495 B
JavaScript
21 lines
495 B
JavaScript
import Component from '@ember/component';
|
|
import { inject as service } from '@ember/service';
|
|
import { get, computed } from '@ember/object';
|
|
import layout from './template'
|
|
|
|
export default Component.extend({
|
|
intl: service(),
|
|
layout,
|
|
|
|
model: null,
|
|
tagName: 'TR',
|
|
classNames: 'main-row',
|
|
bulkActions: true,
|
|
|
|
showNotifierValue: computed('model.notifierType', function() {
|
|
const t = get(this, 'model.notifierType');
|
|
|
|
return t === 'slack' || t === 'email';
|
|
}),
|
|
});
|