2
0
mirror of https://github.com/status-im/consul.git synced 2025-02-25 20:05:24 +00:00

10 lines
270 B
JavaScript
Raw Normal View History

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