24 lines
578 B
Vue
24 lines
578 B
Vue
<template>
|
|
<div>
|
|
<SettingsAuthProvider v-model:config="workingConfigs" />
|
|
<SettingsSmtpConfiguration v-model:config="workingConfigs" />
|
|
<SettingsDataSharing v-model:config="workingConfigs" />
|
|
<SettingsReset />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useVModel } from '@vueuse/core';
|
|
import { ServerConfigs } from '~/helpers/configs';
|
|
|
|
const props = defineProps<{
|
|
config: ServerConfigs;
|
|
}>();
|
|
|
|
const emit = defineEmits<{
|
|
(e: 'update:config', v: ServerConfigs): void;
|
|
}>();
|
|
|
|
const workingConfigs = useVModel(props, 'config', emit);
|
|
</script>
|