diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-06-10 11:41:07 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-06-10 11:41:07 +0900 |
| commit | 2891f528173f7d2ed1d89e71e32f55f35da8aa05 (patch) | |
| tree | 0fac93c3d4eb7d0bb0f129d3ac562cfde2211d23 /src/client/app/auth | |
| parent | :v: (#5041) (diff) | |
| parent | Avoid roma-ji naming (diff) | |
| download | sharkey-2891f528173f7d2ed1d89e71e32f55f35da8aa05.tar.gz sharkey-2891f528173f7d2ed1d89e71e32f55f35da8aa05.tar.bz2 sharkey-2891f528173f7d2ed1d89e71e32f55f35da8aa05.zip | |
Merge branch 'riamu' into develop
Diffstat (limited to 'src/client/app/auth')
| -rw-r--r-- | src/client/app/auth/views/form.vue | 7 |
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 b640a40560..064dbf3887 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"> @@ -34,6 +34,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; } |