ConversationView: Improve types
This commit is contained in:
parent
c765d3202c
commit
dcf29078f4
21 changed files with 1101 additions and 941 deletions
|
@ -5624,6 +5624,10 @@ function getExternalDraftFilesForConversation(
|
|||
const files: Array<string> = [];
|
||||
|
||||
forEach(draftAttachments, attachment => {
|
||||
if (attachment.pending) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { path: file, screenshotPath } = attachment;
|
||||
if (file) {
|
||||
files.push(file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue