Skip to content

Commit fda42df

Browse files
Merge pull request #1530 from RodriSanchez1/fix/arasaaczip
Return suggestion.src on fetchArasaacImgUrl
2 parents 88d5b19 + b13feb1 commit fda42df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Board/SymbolSearch/SymbolSearch.component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export class SymbolSearch extends PureComponent {
273273
const imageArasaacUrl = await API.arasaacPictogramsGetImageUrl(
274274
suggestionImageReq
275275
);
276-
return imageArasaacUrl.length ? imageArasaacUrl : suggestionImageReq;
276+
return imageArasaacUrl.length ? imageArasaacUrl : suggestion.src;
277277
};
278278

279279
const symbolImage = suggestion.fromArasaac

0 commit comments

Comments
 (0)