Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- his.items = this.items.map((item: string) =>
- this.items = this.items.map((item: string) => {
- if(item.better_featured_image == null){
- let item.better_featured_image = {};
- item.better_featured_image.media_details.sizes.thumbnail.source_url = 'logo-web-color.png';
- }
- return item;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement