Skip to content

Commit

Permalink
Merge pull request #768 from endlessm/missing-channel-icons
Browse files Browse the repository at this point in the history
Fix featured channel icons on discovery page
  • Loading branch information
jprvita committed Aug 25, 2023
2 parents 5347b39 + b9b60d2 commit 502715c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
import AboutFooter from '../components/AboutFooter';
import { ContentNodeExtrasResource } from '../apiResources';
import navigationMixin from '../mixins/navigationMixin';
import { getBigThumbnail, getChannelIcon } from '../customApps';
export default {
name: 'DiscoveryPageContenPacks',
Expand Down Expand Up @@ -143,9 +142,7 @@
no_available_filtering: true,
}).then(({ data }) => {
const nodes = data.map(n => {
n.bigThumbnail = getBigThumbnail(n);
n.thumbnail = getChannelIcon(n);
return n;
return this.rootNodes.find(c => c.id === n.channel_id);
});
this.sectionNodes['featured-channel'] = nodes;
});
Expand Down

0 comments on commit 502715c

Please sign in to comment.