Ensure that we resolve attachments before displaying them
This commit is contained in:
parent
72f979ea1d
commit
d8708e4e73
9 changed files with 319 additions and 31 deletions
|
@ -730,7 +730,7 @@ export function isDownloaded(attachment?: AttachmentType): boolean {
|
|||
}
|
||||
|
||||
export function hasNotResolved(attachment?: AttachmentType): boolean {
|
||||
return Boolean(attachment && !attachment.url);
|
||||
return Boolean(attachment && !attachment.url && !attachment.textAttachment);
|
||||
}
|
||||
|
||||
export function isDownloading(attachment?: AttachmentType): boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue