MCPcopy Create free account
hub / github.com/alephdata/aleph / selectCurrentRole

Function selectCurrentRole

ui/src/selectors.js:168–171  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

166}
167
168export function selectCurrentRole(state) {
169 const roleId = selectCurrentRoleId(state);
170 return !!roleId ? selectRole(state, roleId) : {};
171}
172
173export function selectTester(state) {
174 const role = selectCurrentRole(state);

Callers 7

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
selectLocaleFunction · 0.85
selectTesterFunction · 0.85
selectAdminFunction · 0.85

Calls 2

selectCurrentRoleIdFunction · 0.85
selectRoleFunction · 0.85

Tested by

no test coverage detected