summaryrefslogtreecommitdiff
path: root/src/client/app/auth/views
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-04-10 20:30:00 +0900
committerAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-04-10 20:30:00 +0900
commit155da0c6a329d1cb815f43503aca1fb6a56cf4ef (patch)
tree5eb82e3b314a722f34f91e585b5caeef08e58d9a /src/client/app/auth/views
parent10.99.0 (diff)
downloadmisskey-155da0c6a329d1cb815f43503aca1fb6a56cf4ef.tar.gz
misskey-155da0c6a329d1cb815f43503aca1fb6a56cf4ef.tar.bz2
misskey-155da0c6a329d1cb815f43503aca1fb6a56cf4ef.zip
Avoid roma-ji naming
Diffstat (limited to 'src/client/app/auth/views')
-rw-r--r--src/client/app/auth/views/form.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/app/auth/views/form.vue b/src/client/app/auth/views/form.vue
index 105af375b6..749a2bd487 100644
--- a/src/client/app/auth/views/form.vue
+++ b/src/client/app/auth/views/form.vue
@@ -1,7 +1,7 @@
<template>
<div class="form">
<header>
- <h1 v-html="$t('share-access', { name: app.name })"></h1>
+ <h1 v-html="$t('share-access', { name })"></h1>
<img :src="app.iconUrl"/>
</header>
<div class="app">
@@ -42,6 +42,11 @@ export default Vue.extend({
i18n: i18n('auth/views/form.vue'),
props: ['session'],
computed: {
+ name(): string {
+ const el = document.createElement('div');
+ el.textContent = this.app.name
+ return el.innerHTML;
+ },
app(): any {
return this.session.app;
}