diff --git a/src/renderer/components/maps-mangement-components/maps-playlists-panel.component.tsx b/src/renderer/components/maps-mangement-components/maps-playlists-panel.component.tsx
index ff1f593a..de0784d3 100644
--- a/src/renderer/components/maps-mangement-components/maps-playlists-panel.component.tsx
+++ b/src/renderer/components/maps-mangement-components/maps-playlists-panel.component.tsx
@@ -11,6 +11,8 @@ import { MapsManagerService } from "renderer/services/maps-manager.service"
import { motion, Variants } from "framer-motion";
import ReactTooltip from 'react-tooltip';
import { MapsDownloaderService } from "renderer/services/maps-downloader.service"
+import { BsmImage } from "../shared/bsm-image.component"
+import wipGif from "../../../../assets/images/gifs/wip.gif"
type Props = {
version?: BSVersion
@@ -74,24 +76,24 @@ export function MapsPlaylistsPanel({version}: Props) {
return (
{text}
-
-
-
-
- {e.stopPropagation(); onClickAdd(index)}}/>
-
-
- Ajouté des maps {/* TODO TRANSLATE */}
-
- {!!version && (
-
-
- {e.stopPropagation(); onClickLink(index)}}/>
+ {index === 0 &&(
+
+
+
+
+ {e.stopPropagation(); onClickAdd(index)}}/>
- )}
-
-
-
+
+ Ajouté des maps {/* TODO TRANSLATE */}
+
+ {!!version && (
+
+
+ {e.stopPropagation(); onClickLink(index)}}/>
+
+ )}
+
+ )}
)
@@ -125,7 +127,10 @@ export function MapsPlaylistsPanel({version}: Props) {
- b
+
+
+ Work in progress
+
diff --git a/src/renderer/components/shared/bsm-image.component.tsx b/src/renderer/components/shared/bsm-image.component.tsx
index 1e6aa242..3a523638 100644
--- a/src/renderer/components/shared/bsm-image.component.tsx
+++ b/src/renderer/components/shared/bsm-image.component.tsx
@@ -3,6 +3,6 @@ import { CSSProperties } from "react";
export function BsmImage({className, image, errorImage, placeholder, loading, style}: {className?: string, image: string, errorImage?: string, placeholder?: string, loading?: "lazy"|"eager", style?: CSSProperties}) {
return (
-
{ currentTarget.onerror = null; currentTarget.src = errorImage || "" }} style={{...style, backgroundImage: `url(${placeholder})`, backgroundSize: "cover"}} alt=""/>
+
{ currentTarget.onerror = null; currentTarget.src = errorImage || "" }} style={{...style, backgroundImage: placeholder && `url(${placeholder})`, backgroundSize: "cover"}} alt=""/>
)
}