Add dispatch for new feature flag

This commit is contained in:
Kristin Aoki
2021-08-05 14:57:50 -04:00
parent 296607fb76
commit 4e136d9c55

View File

@@ -14,6 +14,7 @@ import {
import {
setsSpecialExamsEnabled,
setsProctoredExamsEnabled,
setsShortLinkFeatureFlag,
fetchCourseRequest,
fetchCourseSuccess,
fetchCourseFailure,
@@ -151,6 +152,9 @@ export function fetchCourse(courseId) {
dispatch(setsProctoredExamsEnabled({
proctoredExamsEnabledWaffleFlag: courseMetadataResult.value.proctoredExamsEnabledWaffleFlag,
}));
dispatch(setsShortLinkFeatureFlag({
shortLinkFeatureFlag: courseMetadataResult.value.shortLinkFeatureFlag,
}));
}
if (courseBlocksResult.status === 'fulfilled') {