diff --git a/src/components/settings_modal/admin_tabs/instance_tab.js b/src/components/settings_modal/admin_tabs/instance_tab.js
index 77a05d389a..7aaedbce8d 100644
--- a/src/components/settings_modal/admin_tabs/instance_tab.js
+++ b/src/components/settings_modal/admin_tabs/instance_tab.js
@@ -14,6 +14,12 @@ library.add(
)
const InstanceTab = {
+ provide () {
+ return {
+ defaultDraftMode: true,
+ defaultSource: 'admin'
+ }
+ },
components: {
BooleanSetting,
ChoiceSetting,
diff --git a/src/components/settings_modal/admin_tabs/instance_tab.vue b/src/components/settings_modal/admin_tabs/instance_tab.vue
index 411982cc9f..43ad4c8c98 100644
--- a/src/components/settings_modal/admin_tabs/instance_tab.vue
+++ b/src/components/settings_modal/admin_tabs/instance_tab.vue
@@ -4,65 +4,37 @@
{{ $t('admin_dash.instance.instance') }}
-
-
+
NAME
-
-
+
ADMIN EMAIL
-
-
+
DESCRIPTION
-
-
+
SHORT DESCRIPTION
-
-
+
INSTANCE THUMBNAIL
-
-
+
BACKGROUND IMAGE
-
-
+
PUBLIC
@@ -72,21 +44,15 @@
{{ $t('admin_dash.instance.registrations') }}
-
-
+
REGISTRATIONS OPEN
-
INVITES ENABLED
@@ -94,20 +60,12 @@
-
-
+
ACTIVATION REQUIRED
-
-
+
APPROVAL REQUIRED
@@ -115,32 +73,24 @@
{{ $t('admin_dash.instance.captcha_header') }}
-
-
+
CAPTCHA
-
CAPTCHA TYPE
VALID
@@ -152,11 +102,7 @@
>
{{ $t('admin_dash.instance.kocaptcha') }}
-
-
+
cockAPTCHA ENDPOINT
diff --git a/src/components/settings_modal/helpers/choice_setting.js b/src/components/settings_modal/helpers/choice_setting.js
index 3ff81bc904..bdeece7603 100644
--- a/src/components/settings_modal/helpers/choice_setting.js
+++ b/src/components/settings_modal/helpers/choice_setting.js
@@ -22,8 +22,7 @@ export default {
computed: {
...Setting.computed,
realOptions () {
- if (this.source === 'admin') {
- console.log(this.backendDescriptionSuggestions)
+ if (this.realSource === 'admin') {
return this.backendDescriptionSuggestions.map(x => ({
key: x,
value: x,
diff --git a/src/components/settings_modal/helpers/choice_setting.vue b/src/components/settings_modal/helpers/choice_setting.vue
index 55f9a62ca9..8713acf567 100644
--- a/src/components/settings_modal/helpers/choice_setting.vue
+++ b/src/components/settings_modal/helpers/choice_setting.vue
@@ -11,7 +11,7 @@
{{ ' ' }}