style: auto format
This commit is contained in:
parent
332c209f6c
commit
ef7546d272
|
|
@ -39,7 +39,14 @@ module.exports = async (ctx) => {
|
|||
isBundles = true;
|
||||
contentUrl = `${contentBaseUrl}/bundles/`;
|
||||
}
|
||||
const linkSlug = item.catalogNs.mappings && item.catalogNs.mappings.length > 0 ? item.catalogNs.mappings[0].pageSlug : item.offerMappings && item.offerMappings.length > 0 ? item.offerMappings[0].pageSlug : item.productSlug ? item.productSlug : item.urlSlug;
|
||||
const linkSlug =
|
||||
item.catalogNs.mappings && item.catalogNs.mappings.length > 0
|
||||
? item.catalogNs.mappings[0].pageSlug
|
||||
: item.offerMappings && item.offerMappings.length > 0
|
||||
? item.offerMappings[0].pageSlug
|
||||
: item.productSlug
|
||||
? item.productSlug
|
||||
: item.urlSlug;
|
||||
link += linkSlug;
|
||||
contentUrl += linkSlug;
|
||||
let description = item.description;
|
||||
|
|
|
|||
Loading…
Reference in New Issue