Add redirects for media types on unsupported pages

This commit is contained in:
advplyr 2022-04-14 12:57:34 -05:00
parent 8bbeae4873
commit cbde451120
5 changed files with 34 additions and 8 deletions

View file

@ -51,6 +51,7 @@ export default {
if (!collection) {
return redirect('/')
}
store.commit('user/addUpdateCollection', collection)
return {
collectionId: collection.id