mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-02-05 15:03:02 -05:00
all!
This commit is contained in:
@@ -55,7 +55,7 @@ export function MediaItem(props) {
|
||||
);
|
||||
|
||||
const finalClassname = containerClassname +
|
||||
(props.showSelection && !isEmbedMode ? ' with-selection' : '') +
|
||||
(props.showSelection ? ' with-selection' : '') +
|
||||
(props.isSelected ? ' selected' : '') +
|
||||
(props.hasAnySelection || isEmbedMode ? ' has-any-selection' : '');
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ export function MediaItemAudio(props) {
|
||||
);
|
||||
|
||||
const finalClassname = containerClassname +
|
||||
(props.showSelection && !isEmbedMode ? ' with-selection' : '') +
|
||||
(props.showSelection ? ' with-selection' : '') +
|
||||
(props.isSelected ? ' selected' : '') +
|
||||
(props.hasAnySelection || isEmbedMode ? ' has-any-selection' : '');
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ export function MediaItemVideo(props) {
|
||||
);
|
||||
|
||||
const finalClassname = containerClassname +
|
||||
(props.showSelection && !isEmbedMode ? ' with-selection' : '') +
|
||||
(props.showSelection ? ' with-selection' : '') +
|
||||
(props.isSelected ? ' selected' : '') +
|
||||
(props.hasAnySelection || isEmbedMode ? ' has-any-selection' : '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user