From d55ed056721f0394e18edf1ca28963061575f5a9 Mon Sep 17 00:00:00 2001 From: Vito0912 <86927734+Vito0912@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:50:47 +0200 Subject: [PATCH] excluded podcasts for now excluded podcasts for now as we cannot get all episodes of a library currently with few requests (afaik) --- client/components/app/ConfigSideNav.vue | 16 +++++++++++----- client/pages/config/to-go.vue | 24 +++++++++++++----------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/client/components/app/ConfigSideNav.vue b/client/components/app/ConfigSideNav.vue index 1e24b1a0b..853a08108 100644 --- a/client/components/app/ConfigSideNav.vue +++ b/client/components/app/ConfigSideNav.vue @@ -123,15 +123,21 @@ export default { title: this.$strings.HeaderYourStats, path: '/config/stats' }) - configRoutes.push({ - id: 'config-to-go', - title: this.$strings.HeaderToGo, - path: '/config/to-go' - }) + if(this.currentLibraryMediaType === 'book') + { + configRoutes.push({ + id: 'config-to-go', + title: this.$strings.HeaderToGo, + path: '/config/to-go' + }) + } } return configRoutes }, + currentLibraryMediaType() { + return this.$store.getters['libraries/getCurrentLibraryMediaType'] + }, wrapperClass() { var classes = [] if (this.drawerOpen) classes.push('translate-x-0') diff --git a/client/pages/config/to-go.vue b/client/pages/config/to-go.vue index 09c1ca269..786fbe544 100644 --- a/client/pages/config/to-go.vue +++ b/client/pages/config/to-go.vue @@ -116,8 +116,13 @@ -