summaryrefslogtreecommitdiff
path: root/src/client/components/mention.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-12-19 10:55:52 +0900
committerGitHub <noreply@github.com>2020-12-19 10:55:52 +0900
commit43930e6a84d11fb00b9ae9ac153c2538e179d538 (patch)
treec6f6d98976d9ea5d198d0c1249b7b2a8749353f3 /src/client/components/mention.vue
parentBump vue-i18n from 9.0.0-beta.7 to 9.0.0-beta.14 (#6993) (diff)
downloadmisskey-43930e6a84d11fb00b9ae9ac153c2538e179d538.tar.gz
misskey-43930e6a84d11fb00b9ae9ac153c2538e179d538.tar.bz2
misskey-43930e6a84d11fb00b9ae9ac153c2538e179d538.zip
Storage improve (#6976)
* wip * wip * wip * wip * wip * Update storage.ts * wip * wip * wip * wip * Update storage.ts * Update storage.ts * wip * wip * wip * wip * wip * wip * wip * Update storage.ts * wip * wip * wip * wip * :pizza: * wip * wip * wip * wip * wip * wip * Update deck-storage.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update store.ts * wip * wip * wip * wip * Update init.ts * wip * wip * Update pizzax.ts * wip * wip * Update timeline.vue * Update init.ts * wip * wip * Update init.ts
Diffstat (limited to 'src/client/components/mention.vue')
-rw-r--r--src/client/components/mention.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/components/mention.vue b/src/client/components/mention.vue
index 85f8436a42..69ea99b871 100644
--- a/src/client/components/mention.vue
+++ b/src/client/components/mention.vue
@@ -3,7 +3,7 @@
<span class="me" v-if="isMe">{{ $t('you') }}</span>
<span class="main">
<span class="username">@{{ username }}</span>
- <span class="host" v-if="(host != localHost) || $store.state.settings.showFullAcct">@{{ toUnicode(host) }}</span>
+ <span class="host" v-if="(host != localHost) || $store.state.showFullAcct">@{{ toUnicode(host) }}</span>
</span>
</MkA>
<a class="ldlomzub" :href="url" target="_blank" rel="noopener" v-else>
@@ -50,8 +50,8 @@ export default defineComponent({
return this.host === localHost ? `@${this.username}` : `@${this.username}@${toUnicode(this.host)}`;
},
isMe(): boolean {
- return this.$store.getters.isSignedIn && (
- `@${this.username}@${toUnicode(this.host)}` === `@${this.$store.state.i.username}@${toUnicode(localHost)}`.toLowerCase()
+ return this.$i && (
+ `@${this.username}@${toUnicode(this.host)}` === `@${this.$i.username}@${toUnicode(localHost)}`.toLowerCase()
);
}
},