mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 23:46:30 +02:00
enhance(backend): 連合関係のサーバー設定のデフォルト値をウィザード側に移動
- サーバー初期設定ウィザードでデフォルト値を設定できるため、データベース上のデフォルト値でオンにしておく必要がない - 連合は初期設定が終わるまで閉じられている方が安全
This commit is contained in:
@@ -207,15 +207,13 @@ const props = withDefaults(defineProps<{
|
||||
}>(), {
|
||||
});
|
||||
|
||||
const currentMeta = await misskeyApi('admin/meta');
|
||||
|
||||
const q_name = ref(currentMeta.name ?? '');
|
||||
const q_name = ref('');
|
||||
const q_use = ref('single');
|
||||
const q_scale = ref('small');
|
||||
const q_federation = ref(currentMeta.federation === 'none' ? 'no' : 'yes');
|
||||
const q_remoteContentsCleaning = ref(currentMeta.enableRemoteNotesCleaning);
|
||||
const q_adminName = ref(currentMeta.maintainerName ?? '');
|
||||
const q_adminEmail = ref(currentMeta.maintainerEmail ?? '');
|
||||
const q_federation = ref('yes');
|
||||
const q_remoteContentsCleaning = ref(true);
|
||||
const q_adminName = ref('');
|
||||
const q_adminEmail = ref('');
|
||||
|
||||
const serverSettings = computed<Misskey.entities.AdminUpdateMetaRequest>(() => {
|
||||
let enableReactionsBuffering;
|
||||
|
||||
Reference in New Issue
Block a user