2
0
mirror of https://github.com/status-im/consul.git synced 2025-02-28 21:30:43 +00:00
John Cowen 7d89e519a2 UI: New ACLs ()
UI to accompany the new ACLs APIs
2018-10-19 08:45:05 -07:00

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);