show self host in unicode (#3200)
This commit is contained in:
		| @@ -73,12 +73,13 @@ | ||||
| import Vue from 'vue'; | ||||
| import i18n from '../../../i18n'; | ||||
| import { apiUrl, host } from '../../../config'; | ||||
| import { toUnicode } from 'punycode'; | ||||
|  | ||||
| export default Vue.extend({ | ||||
| 	i18n: i18n('common/views/components/profile-editor.vue'), | ||||
| 	data() { | ||||
| 		return { | ||||
| 			host, | ||||
| 			host: toUnicode(host), | ||||
| 			name: null, | ||||
| 			username: null, | ||||
| 			location: null, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MeiMei
					MeiMei