From d62c67208f11dd36cd51ec8b86cf050765c27ff4 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sat, 10 Nov 2018 04:28:56 +0900
Subject: [Client] Show domain in admin page

---
 src/client/app/admin/views/instance.vue | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/client/app/admin/views/instance.vue')

diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue
index 7c53a5eb94..503776f5c2 100644
--- a/src/client/app/admin/views/instance.vue
+++ b/src/client/app/admin/views/instance.vue
@@ -3,6 +3,7 @@
 	<ui-card>
 		<div slot="title"><fa icon="cog"/> {{ $t('instance') }}</div>
 		<section class="fit-top fit-bottom">
+			<ui-input :value="host" readonly>{{ $t('domain') }}</ui-input>
 			<ui-input v-model="name">{{ $t('instance-name') }}</ui-input>
 			<ui-textarea v-model="description">{{ $t('instance-description') }}</ui-textarea>
 			<ui-input v-model="bannerUrl"><i slot="icon"><fa icon="link"/></i>{{ $t('banner-url') }}</ui-input>
@@ -81,11 +82,13 @@
 <script lang="ts">
 import Vue from 'vue';
 import i18n from '../../i18n';
+import { host } from '../../config';
 
 export default Vue.extend({
 	i18n: i18n('admin/views/instance.vue'),
 	data() {
 		return {
+			host,
 			maintainerName: null,
 			maintainerEmail: null,
 			disableRegistration: false,
-- 
cgit v1.2.3-freya

