From 60750c499e66a96d7ba9a28348fe2bc14faabbeb Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Wed, 27 Mar 2019 02:58:42 +0900 Subject: [PATCH] Fix #4581 (#4583) --- src/client/app/common/views/components/forkit.vue | 6 ------ src/client/app/common/views/components/nav.vue | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/client/app/common/views/components/forkit.vue b/src/client/app/common/views/components/forkit.vue index 7acb1cf94..aff809144 100644 --- a/src/client/app/common/views/components/forkit.vue +++ b/src/client/app/common/views/components/forkit.vue @@ -15,12 +15,6 @@ export default Vue.extend({ return { repositoryUrl: 'https://github.com/syuilo/misskey' }; - }, - created() { - this.$root.getMeta().then(meta => { - if (meta.maintainer) - this.repositoryUrl = meta.maintainer.repository_url; - }); } }); diff --git a/src/client/app/common/views/components/nav.vue b/src/client/app/common/views/components/nav.vue index bf7689813..a8f9bb928 100644 --- a/src/client/app/common/views/components/nav.vue +++ b/src/client/app/common/views/components/nav.vue @@ -23,12 +23,6 @@ export default Vue.extend({ repositoryUrl: 'https://github.com/syuilo/misskey', feedbackUrl: 'https://github.com/syuilo/misskey/issues/new' } - }, - created() { - this.$root.getMeta().then(meta => { - if (meta.maintainer.repository_url) this.repositoryUrl = meta.maintainer.repository_url; - if (meta.maintainer.feedback_url) this.feedbackUrl = meta.maintainer.feedback_url; - }); } });