Add podcast to supported shelf types

This commit is contained in:
mikiher 2024-06-03 21:57:40 +03:00
parent 2186603039
commit 651601adf6

View File

@ -52,7 +52,7 @@ export default {
}, },
computed: { computed: {
supportedShelves() { supportedShelves() {
return this.shelves.filter((shelf) => ['book', 'episode', 'series', 'authors', 'narrators'].includes(shelf.type)) return this.shelves.filter((shelf) => ['book', 'podcast', 'episode', 'series', 'authors', 'narrators'].includes(shelf.type))
}, },
userIsAdminOrUp() { userIsAdminOrUp() {
return this.$store.getters['user/getIsAdminOrUp'] return this.$store.getters['user/getIsAdminOrUp']