|
@@ -14,6 +14,7 @@ import { IProject } from 'containers/Projects/types'
|
|
|
import { IExludeRoles } from 'containers/Viz/components/PortalList'
|
|
|
import { IProjectRoles } from 'containers/Organizations/component/ProjectRole'
|
|
|
import { Display, DisplayFormType } from './types'
|
|
|
+import { ASSETS_HOST } from 'app/globalConstants'
|
|
|
|
|
|
export interface IDisplayEvent {
|
|
|
onDisplayClick: (displayId: number) => () => void
|
|
@@ -183,7 +184,7 @@ export class DisplayList extends React.PureComponent<IDisplayListProps, IDisplay
|
|
|
|
|
|
private renderDisplay (display: Display) {
|
|
|
const coverStyle: React.CSSProperties = {
|
|
|
- backgroundImage: `url(${display.avatar})`
|
|
|
+ backgroundImage: `url(${ASSETS_HOST}${display.avatar})`
|
|
|
}
|
|
|
const { onDisplayClick, onDelete, currentProject } = this.props
|
|
|
|