|
@@ -233,6 +233,12 @@
|
|
<span v-else-if="props.row.id === recipientsAliasToEdit.id">{{
|
|
<span v-else-if="props.row.id === recipientsAliasToEdit.id">{{
|
|
aliasRecipientsToEdit.length ? aliasRecipientsToEdit.length : '1'
|
|
aliasRecipientsToEdit.length ? aliasRecipientsToEdit.length : '1'
|
|
}}</span>
|
|
}}</span>
|
|
|
|
+ <span
|
|
|
|
+ v-else-if="has(props.row.custom_domain, 'default_recipient.email')"
|
|
|
|
+ class="py-1 px-2 text-sm bg-yellow-200 text-yellow-900 rounded-full tooltip outline-none"
|
|
|
|
+ :data-tippy-content="props.row.custom_domain.default_recipient.email"
|
|
|
|
+ >domain's default</span
|
|
|
|
+ >
|
|
<span
|
|
<span
|
|
v-else
|
|
v-else
|
|
class="py-1 px-2 text-sm bg-yellow-200 text-yellow-900 rounded-full tooltip outline-none"
|
|
class="py-1 px-2 text-sm bg-yellow-200 text-yellow-900 rounded-full tooltip outline-none"
|
|
@@ -802,10 +808,12 @@ export default {
|
|
sortRecipients(x, y) {
|
|
sortRecipients(x, y) {
|
|
return x.length < y.length ? -1 : x.length > y.length ? 1 : 0
|
|
return x.length < y.length ? -1 : x.length > y.length ? 1 : 0
|
|
},
|
|
},
|
|
|
|
+ has(object, path) {
|
|
|
|
+ return _.has(object, path)
|
|
|
|
+ },
|
|
clipboardSuccess() {
|
|
clipboardSuccess() {
|
|
this.success('Copied to clipboard')
|
|
this.success('Copied to clipboard')
|
|
},
|
|
},
|
|
-
|
|
|
|
clipboardError() {
|
|
clipboardError() {
|
|
this.error('Could not copy to clipboard')
|
|
this.error('Could not copy to clipboard')
|
|
},
|
|
},
|