Merge pull request #19557 from ramonlsouza/issue-19505
fix: Upload the exported users list to presentation breaks the whiteboard
This commit is contained in:
commit
8d3473cd4d
@ -1038,11 +1038,13 @@ class PresentationUploader extends Component {
|
||||
|
||||
const formattedDownloadAriaLabel = `${formattedDownloadLabel} ${item.filename}`;
|
||||
|
||||
const hasAnyAnnotation = hasAnnotations(item.id);
|
||||
const isNew = item.id.indexOf(item.filename) !== -1;
|
||||
const hasAnyAnnotation = isNew ? false : hasAnnotations(item.id);
|
||||
|
||||
return (
|
||||
<Styled.PresentationItem
|
||||
key={item.id}
|
||||
isNew={item.id.indexOf(item.filename) !== -1}
|
||||
isNew={isNew}
|
||||
uploading={isUploading}
|
||||
converting={isConverting}
|
||||
error={hasError}
|
||||
|
Loading…
Reference in New Issue
Block a user