From 679e15ed009153a50da7a6273df66073a4af717e Mon Sep 17 00:00:00 2001 From: Jesper Hodge Date: Mon, 11 Mar 2024 19:39:18 +0000 Subject: [PATCH] fix: gallery --- src/editors/sharedComponents/SelectionModal/Gallery.jsx | 1 + src/editors/sharedComponents/SelectionModal/GalleryCard.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/editors/sharedComponents/SelectionModal/Gallery.jsx b/src/editors/sharedComponents/SelectionModal/Gallery.jsx index fe9db0532..aeda6742f 100644 --- a/src/editors/sharedComponents/SelectionModal/Gallery.jsx +++ b/src/editors/sharedComponents/SelectionModal/Gallery.jsx @@ -9,6 +9,7 @@ import { useIntl, } from '@edx/frontend-platform/i18n'; +// SelectableBox in paragon has a bug only visible on stage where you can't change selection. So we override it import SelectableBox from '../SelectableBox'; import messages from './messages'; import GalleryCard from './GalleryCard'; diff --git a/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx b/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx index c661c9de8..45e7da084 100644 --- a/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx +++ b/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx @@ -7,6 +7,7 @@ import { } from '@openedx/paragon'; import { FormattedMessage, FormattedDate, FormattedTime } from '@edx/frontend-platform/i18n'; +// SelectableBox in paragon has a bug only visible on stage where you can't change selection. So we override it import SelectableBox from '../SelectableBox'; import messages from './messages'; import { formatDuration } from '../../utils';