mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
viewDkimIcon to dkimIcon
This commit is contained in:
parent
1db3952ea4
commit
dfdfeb2641
3 changed files with 6 additions and 12 deletions
|
|
@ -174,18 +174,17 @@ export class MailMessageView extends AbstractViewRight {
|
|||
|
||||
canBeRepliedOrForwarded: () => !MessagelistUserStore.isDraftFolder() && this.messageVisible(),
|
||||
|
||||
viewDkimIcon: () => 'none' !== this.dkimData()[0],
|
||||
|
||||
dkimIconClass:() => {
|
||||
dkimIcon: () => {
|
||||
switch (this.dkimData()[0]) {
|
||||
case 'none':
|
||||
return '';
|
||||
case 'pass':
|
||||
return 'icon-ok iconcolor-green'; // ✔️
|
||||
return '✔';
|
||||
default:
|
||||
return 'icon-cross iconcolor-red'; // ✖ ❌
|
||||
return '✖';
|
||||
}
|
||||
},
|
||||
dkimIconClass: () => 'pass' === this.dkimData()[0] ? 'iconcolor-green' : 'iconcolor-red',
|
||||
|
||||
dkimTitle:() => {
|
||||
const dkim = this.dkimData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue