forked from Furumi/furumi-web
Fix podcast page
This commit is contained in:
1 parent
319f0bcba7
commit
eefe8a9777
16 files changed
+692
-222
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user