Quellcode durchsuchen

fix: dispaly cover add asset prefix host

hi-cactus! vor 3 Jahren
Ursprung
Commit
c58f03f773
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/containers/Viz/components/DataDisplayList.tsx

+ 1 - 1
app/containers/Viz/components/DataDisplayList.tsx

@@ -184,7 +184,7 @@ export class DisplayList extends React.PureComponent<IDisplayListProps, IDisplay
 
   private renderDisplay (display: Display) {
     const coverStyle: React.CSSProperties = {
-      backgroundImage: `url(${ASSETS_HOST}${display.avatar})`
+      backgroundImage: `url("${ASSETS_HOST}${display.avatar}")`
     }
     const { onDisplayClick, onDelete, currentProject } = this.props