Do not try to download text attachments
This commit is contained in:
parent
0a0fabd2ca
commit
0f16ef5dd6
5 changed files with 6 additions and 7 deletions
|
@ -52,7 +52,7 @@ export const StoryImage = ({
|
|||
return null;
|
||||
}
|
||||
|
||||
const isPending = Boolean(attachment.pending);
|
||||
const isPending = Boolean(attachment.pending) && !attachment.textAttachment;
|
||||
const isNotReadyToShow = hasNotResolved(attachment) || isPending;
|
||||
|
||||
const getClassName = getClassNamesFor('StoryImage', moduleClassName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue