diff --git a/src/views/settings/components/Endpoint.vue b/src/views/settings/components/Endpoint.vue index a331b3a8..d03fd134 100644 --- a/src/views/settings/components/Endpoint.vue +++ b/src/views/settings/components/Endpoint.vue @@ -28,10 +28,13 @@ export default { }, computed: { ...mapGetters([ - 'endpointData' + 'settings' ]), endpoint() { - return this.$store.state.settings.description.find(setting => setting.key === 'Pleroma.Web.Endpoint') + return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Endpoint') + }, + endpointData() { + return this.settings.settings['Pleroma.Web.Endpoint'] }, isMobile() { return this.$store.state.app.device === 'mobile' @@ -40,7 +43,7 @@ export default { return this.isMobile ? '100px' : '240px' }, loading() { - return this.$store.state.settings.loading + return this.settings.loading } }, methods: { diff --git a/src/views/settings/components/Esshd.vue b/src/views/settings/components/Esshd.vue index e45ae890..e92ce79b 100644 --- a/src/views/settings/components/Esshd.vue +++ b/src/views/settings/components/Esshd.vue @@ -1,19 +1,6 @@