Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com> Co-authored-by: nivedin <nivedinp@gmail.com>
24 lines
570 B
Vue
24 lines
570 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 { Config } from '~/composables/useConfigHandler';
|
|
|
|
const props = defineProps<{
|
|
config: Config;
|
|
}>();
|
|
|
|
const emit = defineEmits<{
|
|
(e: 'update:config', v: Config): void;
|
|
}>();
|
|
|
|
const workingConfigs = useVModel(props, 'config', emit);
|
|
</script>
|