1107798da6
Generated with a codemode: https://github.com/ember-cli/ember-modules-codemod
16 lines
406 B
JavaScript
16 lines
406 B
JavaScript
import { equal } from '@ember/object/computed';
|
|
import Component from '@ember/component';
|
|
|
|
export default Component.extend({
|
|
classNames: ['job-diff'],
|
|
classNameBindings: ['isEdited:is-edited', 'isAdded:is-added', 'isDeleted:is-deleted'],
|
|
|
|
diff: null,
|
|
|
|
verbose: true,
|
|
|
|
isEdited: equal('diff.Type', 'Edited'),
|
|
isAdded: equal('diff.Type', 'Added'),
|
|
isDeleted: equal('diff.Type', 'Deleted'),
|
|
});
|