Fixed banner URL not resolving to affiliate definition.

This commit is contained in:
2026-02-03 00:04:29 +01:00
parent 5194c5e156
commit 515d3885c7
2 changed files with 13 additions and 4 deletions

View File

@@ -38,6 +38,8 @@ const props = defineProps({
},
});
// console.log(props.campaign);
const bannerSrc = (() => {
if (props.campaign.banner) {
if (props.campaign.banner.entity.type === 'network' || !props.campaign.banner.entity.parent) {