mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Resolve #1499
This commit is contained in:
parent
ce63c36fb0
commit
0fd0d18154
4 changed files with 72 additions and 61 deletions
|
|
@ -126,7 +126,10 @@ export class AttachmentModel extends AbstractModel {
|
|||
}
|
||||
|
||||
get download() {
|
||||
return b64EncodeJSONSafe({
|
||||
return b64EncodeJSONSafe(this.url ? {
|
||||
fileName: this.fileName,
|
||||
data: this.url.replace(/^.+,/, '')
|
||||
} : {
|
||||
folder: this.folder,
|
||||
uid: this.uid,
|
||||
mimeIndex: this.mimeIndex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue