summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components/github-setting.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-14 01:31:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-14 01:31:36 +0900
commit26ce9725ce37baf723adc3e8fb68803a4e368b89 (patch)
tree517dc8781e6ee2adda2aa7901b83b5b8e69af0e6 /src/client/app/common/views/components/github-setting.vue
parentCreate setup.fr.md (#3225) (diff)
downloadsharkey-26ce9725ce37baf723adc3e8fb68803a4e368b89.tar.gz
sharkey-26ce9725ce37baf723adc3e8fb68803a4e368b89.tar.bz2
sharkey-26ce9725ce37baf723adc3e8fb68803a4e368b89.zip
[Client] Fix #3009
Diffstat (limited to 'src/client/app/common/views/components/github-setting.vue')
-rw-r--r--src/client/app/common/views/components/github-setting.vue7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/app/common/views/components/github-setting.vue b/src/client/app/common/views/components/github-setting.vue
index f9bb0e69d2..93d7f406f8 100644
--- a/src/client/app/common/views/components/github-setting.vue
+++ b/src/client/app/common/views/components/github-setting.vue
@@ -1,6 +1,6 @@
<template>
<div class="mk-github-setting">
- <p>{{ $t('description') }}<a :href="`${docsUrl}/link-to-github`" target="_blank">{{ $t('detail') }}</a></p>
+ <p>{{ $t('description') }}</p>
<p class="account" v-if="$store.state.i.github" :title="`GitHub ID: ${$store.state.i.github.id}`">{{ $t('connected-to') }}: <a :href="`https://github.com/${$store.state.i.github.login}`" target="_blank">@{{ $store.state.i.github.login }}</a></p>
<p>
<a :href="`${apiUrl}/connect/github`" target="_blank" @click.prevent="connect">{{ $store.state.i.github ? this.$t('reconnect') : this.$t('connect') }}</a>
@@ -14,15 +14,14 @@
<script lang="ts">
import Vue from 'vue';
import i18n from '../../../i18n';
-import { apiUrl, docsUrl } from '../../../config';
+import { apiUrl } from '../../../config';
export default Vue.extend({
i18n: i18n('common/views/components/github-setting.vue'),
data() {
return {
form: null,
- apiUrl,
- docsUrl
+ apiUrl
};
},
mounted() {