forked from potsda.mn/mobilizon
Add empty alt attribute to uploaded pictures (for now)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5078f890ce
commit
bc81b1830d
|
@ -428,6 +428,7 @@ uploadMediaDone(({ data }) => {
|
|||
.focus()
|
||||
.setImage({
|
||||
src: data.uploadMedia.url,
|
||||
alt: '',
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
"data-media-id": data.uploadMedia.id,
|
||||
|
|
Loading…
Reference in a new issue