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

Function selectTester

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

Source from the content-addressed store, hash-verified

171}
172
173export function selectTester(state) {
174 const role = selectCurrentRole(state);
175 /* eslint-disable camelcase */
176 return role.is_tester || false;
177}
178
179export function selectAdmin(state) {
180 const role = selectCurrentRole(state);

Callers 1

mapStateToPropsFunction · 0.90

Calls 1

selectCurrentRoleFunction · 0.85

Tested by

no test coverage detected