diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Index.vue b/platypush/backend/http/webapp/src/components/panels/Media/Index.vue index 3f6c2bcd22..2da54f7cb3 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/Index.vue @@ -19,7 +19,7 @@ @@ -544,13 +544,20 @@ export default { }, {}) }, - onNavInput(event) { - this.selectedView = event - if (event === 'search') { + setView(title) { + this.selectedView = title + if (title === 'search') { this.selectedResult = null } }, + updateView() { + const args = this.getUrlArgs() + if (args.view) { + this.selectedView = args.view + } + }, + onDownloadStarted(event) { this.downloads[event.path] = event this.notify({ @@ -679,6 +686,7 @@ export default { this.sources.jellyfin = true await this.refreshDownloads() + this.updateView() }, destroy() { diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Nav.vue b/platypush/backend/http/webapp/src/components/panels/Media/Nav.vue index 3ea2833066..b00e629b7e 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Nav.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/Nav.vue @@ -5,14 +5,17 @@