mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-26 23:57:07 +00:00
50 lines
1.1 KiB
Vue
50 lines
1.1 KiB
Vue
<script>
|
|
export default {
|
|
props: {
|
|
primaryContactName: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
parentContactName: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<!-- eslint-disable-next-line vue/no-root-v-if -->
|
|
<template>
|
|
<div
|
|
v-if="parentContactName"
|
|
class="my-4 relative p-2.5 border rounded-[4px] text-n-slate-12 border-n-weak bg-n-background"
|
|
>
|
|
<h5 class="text-base font-medium text-n-slate-12">
|
|
{{ $t('MERGE_CONTACTS.SUMMARY.TITLE') }}
|
|
</h5>
|
|
<ul class="ml-0 list-none">
|
|
<li>
|
|
<span class="inline-block mr-1">❌</span>
|
|
<span
|
|
v-dompurify-html="
|
|
$t('MERGE_CONTACTS.SUMMARY.DELETE_WARNING', {
|
|
primaryContactName,
|
|
})
|
|
"
|
|
/>
|
|
</li>
|
|
<li>
|
|
<span class="inline-block mr-1">✅</span>
|
|
<span
|
|
v-dompurify-html="
|
|
$t('MERGE_CONTACTS.SUMMARY.ATTRIBUTE_WARNING', {
|
|
primaryContactName,
|
|
parentContactName,
|
|
})
|
|
"
|
|
/>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</template>
|