Add Shop module at end of Location page
With linked poster if existing, otherwise with all products
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
export let url: string = '/shop'
|
||||
export let enabled: boolean = true
|
||||
|
||||
if (textBottom !== null && textBottom !== undefined) {
|
||||
if (textBottom !== null) {
|
||||
textBottom = `Posters available for ${locationsWithPoster.join(', ').replace(/,(?!.*,)/gmi, ' and')}.`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user