diff --git a/changes/changelog.d/1655.bugfix b/changes/changelog.d/1655.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..f5607d3c54342516904d1357ec662e4a33eaa87a --- /dev/null +++ b/changes/changelog.d/1655.bugfix @@ -0,0 +1 @@ +Fix remote content page (#1655) diff --git a/front/src/views/content/libraries/Form.vue b/front/src/views/content/libraries/Form.vue index 3a81d322aa3b09990783ab30fe39ff8590a2817a..4134783d1aaeb73b5ab2c019f428d75bc9ea0ccb 100644 --- a/front/src/views/content/libraries/Form.vue +++ b/front/src/views/content/libraries/Form.vue @@ -119,7 +119,7 @@ import MixinsTranslation from '@/components/mixins/Translations.vue' export default { mixins: [MixinsTranslation], - props: { library: { type: Object, required: true } }, + props: { library: { type: Object, default: Null } }, data () { const d = { isLoading: false, diff --git a/front/src/views/content/remote/Home.vue b/front/src/views/content/remote/Home.vue index eb24bb1b67d5ac2ec834dc95ebde617ed9ffb3d1..7a2b68feb3ab4fd13716fbd9712d7af01bf287a4 100644 --- a/front/src/views/content/remote/Home.vue +++ b/front/src/views/content/remote/Home.vue @@ -33,7 +33,7 @@ <library-card v-for="library in scanResult.results" :key="library.fid" - :library="library" + :initial-library="library" /> </div> <template v-if="existingFollows && existingFollows.count > 0"> @@ -54,7 +54,7 @@ <library-card v-for="follow in existingFollows.results" :key="follow.fid" - :library="getLibraryFromFollow(follow)" + :initial-library="getLibraryFromFollow(follow)" @deleted="fetch()" @followed="fetch()" />