Fix podcast page

This commit is contained in:
ab committed 2026-11-22 17:49:23 +02:00
1 parent 319f0bcba7
commit eefe8a9777
16 files changed
+692 -222

No files matched your search

+5 -1
View File
@@ -2670,7 +2670,11 @@ document.addEventListener('alpine:init', () => {
if (this.view !== 'artists' || this.artistsPage === 0) this.goArtists(options);
else if (options.restoreScroll) this._restoreScrollPosition(hash);
} else if (view === 'podcasts') {
Alpine.store('podcasts').enter();
Alpine.store('podcasts').enter(options);
} else if (view === 'podcast') {
const podcastId = new URLSearchParams(params).get('id');
if(podcastId)Alpine.store('podcasts').open(podcastId,options);
else Alpine.store('podcasts').enter(options);
} else if (view === 'uploads' && !id) {
if (this.view !== 'my_uploads' || this.artistsPage === 0) this.goMyUploads(options);
else if (options.restoreScroll) this._restoreScrollPosition(hash);