From 4e136d9c55b533afe61ab13dcba412089353fdd6 Mon Sep 17 00:00:00 2001 From: Kristin Aoki Date: Thu, 5 Aug 2021 14:57:50 -0400 Subject: [PATCH] Add dispatch for new feature flag --- src/courseware/data/thunks.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/courseware/data/thunks.js b/src/courseware/data/thunks.js index 95429074..66d83fbf 100644 --- a/src/courseware/data/thunks.js +++ b/src/courseware/data/thunks.js @@ -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') {