Avoid roma-ji naming

This commit is contained in:
Acid Chicken (硫酸鶏)
2019-04-10 20:30:00 +09:00
parent b71a602107
commit 155da0c6a3
4 changed files with 26 additions and 13 deletions

View File

@@ -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;
}