Fix broken image in plugin (#3839)

This commit is contained in:
Harrison Healey 2022-09-13 17:06:58 -04:00 committed by GitHub
parent b3a356067c
commit 32a44723c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ import {useAppSelector, useAppDispatch} from '../../../../webapp/src/store/hooks
import AddIcon from '../../../../webapp/src/widgets/icons/add'
import Button from '../../../../webapp/src/widgets/buttons/button'
import {Utils} from '../../../../webapp/src/utils'
import {WSClient} from '../../../../webapp/src/wsclient'
import boardsScreenshots from '../../../../webapp/static/boards-screenshots.png'
@ -107,7 +108,7 @@ const RHSChannelBoards = () => {
defaultMessage='Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view.'
/>
</div>
<div className='boards-screenshots'><img src={boardsScreenshots}/></div>
<div className='boards-screenshots'><img src={Utils.buildURL(boardsScreenshots, true)}/></div>
<Button
onClick={() => dispatch(setLinkToChannel(currentChannel.id))}
emphasis='primary'