52a62f2b8d
UI to accompany the new ACLs APIs
10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
import { helper } from '@ember/component/helper';
|
|
import { get } from '@ember/object';
|
|
export function difference(params, hash) {
|
|
return params[0].filter(function(item) {
|
|
return !params[1].findBy('ID', get(item, 'ID'));
|
|
});
|
|
}
|
|
|
|
export default helper(difference);
|