summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-23 19:03:41 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-23 19:03:41 +0900
commitb3d5b6bd5e3559fe78d11b5c7ab4d4b0fed7b3f0 (patch)
tree032e483e8628428a3649b2f336d32e43c1654abf /src/web
parentFix bug (diff)
downloadsharkey-b3d5b6bd5e3559fe78d11b5c7ab4d4b0fed7b3f0.tar.gz
sharkey-b3d5b6bd5e3559fe78d11b5c7ab4d4b0fed7b3f0.tar.bz2
sharkey-b3d5b6bd5e3559fe78d11b5c7ab4d4b0fed7b3f0.zip
Fix bugs
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/views/components/ui.header.account.vue2
-rw-r--r--src/web/app/mobile/views/components/ui.nav.vue6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/web/app/desktop/views/components/ui.header.account.vue b/src/web/app/desktop/views/components/ui.header.account.vue
index b55333ecc4..68cf8477dc 100644
--- a/src/web/app/desktop/views/components/ui.header.account.vue
+++ b/src/web/app/desktop/views/components/ui.header.account.vue
@@ -8,7 +8,7 @@
<div class="menu" v-if="isOpen">
<ul>
<li>
- <a :href="`/${ os.i.username }`">%fa:user%%i18n:desktop.tags.mk-ui-header-account.profile%%fa:angle-right%</a>
+ <router-link :to="`/${ os.i.username }`">%fa:user%%i18n:desktop.tags.mk-ui-header-account.profile%%fa:angle-right%</router-link>
</li>
<li @click="drive">
<p>%fa:cloud%%i18n:desktop.tags.mk-ui-header-account.drive%%fa:angle-right%</p>
diff --git a/src/web/app/mobile/views/components/ui.nav.vue b/src/web/app/mobile/views/components/ui.nav.vue
index 5ca7e2e94d..9fe0864aa3 100644
--- a/src/web/app/mobile/views/components/ui.nav.vue
+++ b/src/web/app/mobile/views/components/ui.nav.vue
@@ -23,14 +23,14 @@
<li><router-link to="/i/settings">%fa:cog%%i18n:mobile.tags.mk-ui-nav.settings%%fa:angle-right%</router-link></li>
</ul>
</div>
- <a :href="docsUrl"><p class="about">%i18n:mobile.tags.mk-ui-nav.about%</p></a>
+ <a :href="aboutUrl"><p class="about">%i18n:mobile.tags.mk-ui-nav.about%</p></a>
</div>
</div>
</template>
<script lang="ts">
import Vue from 'vue';
-import { docsUrl, chUrl } from '../../../config';
+import { docsUrl, chUrl, lang } from '../../../config';
export default Vue.extend({
props: ['isOpen'],
@@ -40,7 +40,7 @@ export default Vue.extend({
hasUnreadMessagingMessages: false,
connection: null,
connectionId: null,
- docsUrl,
+ aboutUrl: `${docsUrl}/${lang}/about`,
chUrl
};
},