mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
WIP: Added attachmentListSimple for #672
This is not optional yet and off.
This commit is contained in:
parent
4a0a6c80fc
commit
58e9ebc37b
4 changed files with 35 additions and 5 deletions
|
|
@ -98,6 +98,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
downloadAsZipLoading: false,
|
||||
showFullInfo: '1' === Local.get(ClientSideKeyNameMessageHeaderFullInfo),
|
||||
moreDropdownTrigger: false,
|
||||
attachmentListSimple: false,
|
||||
|
||||
// viewer
|
||||
viewFromShort: '',
|
||||
|
|
@ -281,7 +282,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
}
|
||||
}
|
||||
|
||||
el = eqs(event, '.attachmentsPlace .attachmentItem .attachmentNameParent');
|
||||
el = eqs(event, '.attachmentsPlace .attachmentName');
|
||||
if (el) {
|
||||
const attachment = ko.dataFor(el);
|
||||
if (attachment?.linkDownload()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue