From dfe694d39fb04dd2f2e4983558da19a21c7e5723 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 7acb1cf94b..aff809144a 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 bf76898136..a8f9bb9289 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; - }); } });