Commit c4648304 authored by David Trattnig's avatar David Trattnig
Browse files

Move title config to root components

parent d65244ce
......@@ -18,7 +18,7 @@
export let view = 'card' // 'card' or 'paper'
/* Nested Component Props */
export let renderhtml = false // Attention: to avoid XSS attack vectors use with trusted API sources only
export let displayCatTitle = undefined
export let displayCatTitle = false
export let displayCatIcons = false
export let displayLangIcons = false
export let urlEpisodeDetail = undefined
......
......@@ -14,6 +14,7 @@
export let defaultPastEpisodes = 7
/* Nested Component Props */
export let renderhtml = false // Attention: to avoid XSS attack vectors use with trusted API sources only
export let displayCatTitle = false
export let displayCatIcons = false
export let displayLangIcons = false
export let labelCurrentEpisodes = "Latest Episodes"
......@@ -169,6 +170,7 @@
{labelShowMore}
{renderhtml}
{hasMoreEpisodes}
{displayCatTitle}
{displayCatIcons}
{displayLangIcons}
on:showMore={eventShowMore} />
......
......@@ -20,9 +20,9 @@
export let labelEpisodes = undefined
export let labelShowMore = 'Show all'
export let hasMoreEpisodes = undefined
export let displayCatTitle = true
export let displayCatIcons = false
export let displayLangIcons = false
export let displayCatTitle = undefined
export let displayCatIcons = undefined
export let displayLangIcons = undefined
function eventShowMore() {
dispatch('showMore')
......
......@@ -16,9 +16,9 @@
export let urlEpisodeDetail = undefined
export let urlShowDetail = undefined
export let urlShowList = undefined
export let displayCatTitle = false
export let displayCatIcons = false
export let displayLangIcons = false
export let displayCatTitle = undefined
export let displayCatIcons = undefined
export let displayLangIcons = undefined
export let renderhtml = false // Attention: to avoid XSS attack vectors use with trusted API sources only
let isActive = false
......@@ -118,6 +118,7 @@
category={episode.show.category}
languages={episode.show.language}
{urlShowList}
{displayCatTitle}
{displayCatIcons}
{displayLangIcons} />
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment