mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-02 01:39:21 +00:00
update to use large images.
This commit is contained in:
parent
0981e10bad
commit
29af2b0934
@ -105,7 +105,7 @@ export default class FollowDocumentWebPart extends React.Component<IFollowDocume
|
|||||||
followedDateTime: new Date(data.followed.followedDateTime),
|
followedDateTime: new Date(data.followed.followedDateTime),
|
||||||
} as FollowDocument;
|
} as FollowDocument;
|
||||||
this.GetIcon(data.name).then(icon => {
|
this.GetIcon(data.name).then(icon => {
|
||||||
followDocument.IconUrl = this.props.context.pageContext.web.absoluteUrl + "/_layouts/images/" + icon;
|
followDocument.IconUrl = (this.props.context.pageContext.web.absoluteUrl + "/_layouts/15/images/lg_" + icon).replace("lg_iczip.gif", "lg_iczip.png").replace("lg_icmsg.png", "lg_icmsg.gif");
|
||||||
});
|
});
|
||||||
followDocuments.push(followDocument);
|
followDocuments.push(followDocument);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user