refactor
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
<div v-if="instance.enableEmail" class="_gaps_m">
 | 
			
		||||
	<FormSection first>
 | 
			
		||||
		<template #label>{{ i18n.ts.emailAddress }}</template>
 | 
			
		||||
		<MkInput v-model="emailAddress" type="email" manual-save>
 | 
			
		||||
		<MkInput v-model="emailAddress" type="email" manualSave>
 | 
			
		||||
			<template #prefix><i class="ti ti-mail"></i></template>
 | 
			
		||||
			<template v-if="$i.email && !$i.emailVerified" #caption>{{ i18n.ts.verificationEmailSent }}</template>
 | 
			
		||||
			<template v-else-if="emailAddress === $i.email && $i.emailVerified" #caption><i class="ti ti-check" style="color: var(--success);"></i> {{ i18n.ts.emailVerified }}</template>
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
	</FormSection>
 | 
			
		||||
 | 
			
		||||
	<FormSection>
 | 
			
		||||
		<MkSwitch :model-value="$i.receiveAnnouncementEmail" @update:model-value="onChangeReceiveAnnouncementEmail">
 | 
			
		||||
		<MkSwitch :modelValue="$i.receiveAnnouncementEmail" @update:modelValue="onChangeReceiveAnnouncementEmail">
 | 
			
		||||
			{{ i18n.ts.receiveAnnouncementFromInstance }}
 | 
			
		||||
		</MkSwitch>
 | 
			
		||||
	</FormSection>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user