Fix amdinDomain not passed to the MailRelaySettingsItem

This commit is contained in:
Girish Ramakrishnan
2025-11-13 12:58:45 +01:00
parent 83056519ec
commit b2941894cd
4 changed files with 26 additions and 21 deletions
@@ -8,7 +8,8 @@ import { RELAY_PROVIDERS } from '../constants.js';
import { prettyRelayProviderName } from '../utils';
const props = defineProps({
domain: { type: String, required: true }
domain: { type: String, required: true },
adminDomain: { type: String, required: true }
});
const mailModel = MailModel.create();
@@ -22,7 +23,6 @@ const mailConfig = ref({});
const dialog = useTemplateRef('dialog');
const busy = ref(false);
const formError = ref('');
const adminDomain = ref('');
const currentProvider = ref('cloudron-smtp');
const provider = ref('cloudron-smtp');
const host = ref('');
@@ -213,7 +213,7 @@ onMounted(async () => {
<FormGroup>
<label>{{ $t('email.outbound.title') }} <sup><a href="https://docs.cloudron.io/email/#relay-outbound-mails" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<div>
<b>{{ prettyRelayProviderName(currentProvider) }}</b> - <span v-html="$t('email.outbound.description')"></span>
<span>{{ prettyRelayProviderName(currentProvider) }}</span> / <span v-html="$t('email.outbound.description')"></span>
</div>
</FormGroup>
<div style="display: flex; align-items: center;">