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

9 lines
183 B
JavaScript

export default function(e, value, target = {}) {
if (typeof e.target !== 'undefined') {
return e;
}
return {
target: { ...target, ...{ name: e, value: value } },
};
}