summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/components
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-19 21:07:18 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-19 21:07:18 +0900
commitbb925e5de32f92a6bd117f74eebb6d1a578a34e1 (patch)
tree7d0fe3f373ed2f45796fd06fa0ccbcd1e05ef8af /src/client/app/mobile/views/components
parentwip (diff)
downloadmisskey-bb925e5de32f92a6bd117f74eebb6d1a578a34e1.tar.gz
misskey-bb925e5de32f92a6bd117f74eebb6d1a578a34e1.tar.bz2
misskey-bb925e5de32f92a6bd117f74eebb6d1a578a34e1.zip
wip
Diffstat (limited to 'src/client/app/mobile/views/components')
-rw-r--r--src/client/app/mobile/views/components/notes.vue3
-rw-r--r--src/client/app/mobile/views/components/ui.header.vue4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue
index cce81d1b78..714e521c0f 100644
--- a/src/client/app/mobile/views/components/notes.vue
+++ b/src/client/app/mobile/views/components/notes.vue
@@ -38,7 +38,6 @@
<script lang="ts">
import Vue from 'vue';
import getNoteSummary from '../../../../../misc/get-note-summary';
-import * as config from '../../../config';
const displayLimit = 30;
@@ -190,7 +189,7 @@ export default Vue.extend({
clearNotification() {
this.unreadCount = 0;
- document.title = config.name;
+ document.title = (this as any).os.instanceName;
},
onVisibilitychange() {
diff --git a/src/client/app/mobile/views/components/ui.header.vue b/src/client/app/mobile/views/components/ui.header.vue
index b87c6f1eb7..a616586c56 100644
--- a/src/client/app/mobile/views/components/ui.header.vue
+++ b/src/client/app/mobile/views/components/ui.header.vue
@@ -8,7 +8,7 @@
<button class="nav" @click="$parent.isDrawerOpening = true">%fa:bars%</button>
<template v-if="hasUnreadNotification || hasUnreadMessagingMessage || hasGameInvitation">%fa:circle%</template>
<h1>
- <slot>config.name</slot>
+ <slot>{{ os.instanceName }}</slot>
</h1>
<slot name="func"></slot>
</div>
@@ -20,13 +20,11 @@
<script lang="ts">
import Vue from 'vue';
import * as anime from 'animejs';
-import * as config from '../../../config';
export default Vue.extend({
props: ['func'],
data() {
return {
- config,
hasGameInvitation: false,
connection: null,
connectionId: null