From 7a53de4f2d9add516998ba98b30eaf68cc08db6a Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Fri, 16 Jun 2023 13:08:23 +0530 Subject: [PATCH] refactor: hide switch to hide selected videos The backend for hiding selected videos is not implemented and it is currently not required, so this commit hides the option. --- src/editors/containers/VideoGallery/hooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editors/containers/VideoGallery/hooks.js b/src/editors/containers/VideoGallery/hooks.js index bce2fbda5..d166d6fee 100644 --- a/src/editors/containers/VideoGallery/hooks.js +++ b/src/editors/containers/VideoGallery/hooks.js @@ -46,7 +46,7 @@ export const searchAndSortProps = () => { onFilterClick: (key) => () => setFilterBy(key), filterKeys, filterMessages, - showSwitch: true, + showSwitch: false, hideSelectedVideos, switchMessage: messages.hideSelectedCourseVideosSwitchLabel, onSwitchClick: () => setHideSelectedVideos(!hideSelectedVideos),