Encode URI of image path for card view vs. normalizePath replace (#474)
This commit is contained in:
committed by
Benaiah Mischenko
parent
e7c859eb12
commit
cc93ad87dc
@ -41,6 +41,9 @@ export default class EntryListing extends React.Component {
|
||||
const title = label || entry.getIn(['data', inferedFields.titleField]);
|
||||
let image = entry.getIn(['data', inferedFields.imageField]);
|
||||
image = resolvePath(image, publicFolder);
|
||||
if(image) {
|
||||
image = encodeURI(image);
|
||||
}
|
||||
|
||||
return (
|
||||
<Card
|
||||
|
Reference in New Issue
Block a user