Adding userHasAccess to redux so we can use it in our components.
This commit is contained in:
@@ -16,6 +16,7 @@ const courseMetaSlice = createSlice({
|
|||||||
number: payload.number,
|
number: payload.number,
|
||||||
org: payload.org,
|
org: payload.org,
|
||||||
tabs: payload.tabs,
|
tabs: payload.tabs,
|
||||||
|
userHasAccess: payload.userHasAccess,
|
||||||
}),
|
}),
|
||||||
fetchCourseMetadataFailure: (draftState) => {
|
fetchCourseMetadataFailure: (draftState) => {
|
||||||
draftState.fetchState = 'failed';
|
draftState.fetchState = 'failed';
|
||||||
|
|||||||
Reference in New Issue
Block a user