mirror of https://github.com/status-im/consul.git
9 lines
283 B
JavaScript
9 lines
283 B
JavaScript
import { helper } from '@ember/component/helper';
|
|
import { get } from '@ember/object';
|
|
const MANAGEMENT_ID = '00000000-0000-0000-0000-000000000001';
|
|
export function isManagement(params, hash) {
|
|
return get(params[0], 'ID') === MANAGEMENT_ID;
|
|
}
|
|
|
|
export default helper(isManagement);
|