open-consul/ui-v2/tests/pages/dc/acls/roles/index.js

9 lines
184 B
JavaScript

export default function(visitable, creatable, roles, filter) {
return {
visit: visitable('/:dc/acls/roles'),
roles: roles(),
filter: filter(),
...creatable(),
};
}