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

Fix: Order of future episodes in show detail

parent 4d14189f
Pipeline #1955 passed with stages
in 8 minutes and 8 seconds
let OFFLINE_URL = "/offline.html"; // Match your offline page URL
let PRE_CACHE = "pre-cache-v2"; // Manually update version or generate one server-site
let PRE_CACHE = "pre-cache-v3"; // Manually update version or generate one server-site
let PRE_CACHE_URL = "/pre-cache.json" // Match your pre-cache URL
let RUNTIME_CACHE = "runtime-cache";
......
......@@ -17,8 +17,8 @@
export let displayCatTitle = false
export let displayCatIcons = false
export let displayLangIcons = false
export let labelCurrentEpisodes = "Latest Episodes"
export let labelAllEpisodes = "All Episodes"
export let labelCurrentEpisodes = 'Latest Episodes'
export let labelAllEpisodes = 'All Episodes'
export let labelShowMore = undefined
export let urlHostDetail = undefined
export let urlEpisodeDetail = undefined
......@@ -129,7 +129,7 @@
past = past.slice(0, defaultPastEpisodes)
episodes = past
console.log('Base episodes of show API response:', data)
episodesNext = next.slice(0, maxFutureEpisodes)
episodesNext = next.slice(0, maxFutureEpisodes).reverse()
console.log('Next (n) episodes of show API response:', data)
show = tmp_show
......
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