Commit ec9f8e16 authored by Georg Krause's avatar Georg Krause
Browse files

Fix remote content page

parent 83b01c13
Fix remote content page (#1655)
...@@ -119,7 +119,7 @@ import MixinsTranslation from '@/components/mixins/Translations.vue' ...@@ -119,7 +119,7 @@ import MixinsTranslation from '@/components/mixins/Translations.vue'
export default { export default {
mixins: [MixinsTranslation], mixins: [MixinsTranslation],
props: { library: { type: Object, required: true } }, props: { library: { type: Object, default: Null } },
data () { data () {
const d = { const d = {
isLoading: false, isLoading: false,
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<library-card <library-card
v-for="library in scanResult.results" v-for="library in scanResult.results"
:key="library.fid" :key="library.fid"
:library="library" :initial-library="library"
/> />
</div> </div>
<template v-if="existingFollows && existingFollows.count > 0"> <template v-if="existingFollows && existingFollows.count > 0">
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<library-card <library-card
v-for="follow in existingFollows.results" v-for="follow in existingFollows.results"
:key="follow.fid" :key="follow.fid"
:library="getLibraryFromFollow(follow)" :initial-library="getLibraryFromFollow(follow)"
@deleted="fetch()" @deleted="fetch()"
@followed="fetch()" @followed="fetch()"
/> />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment