change notification color to critical if have failed items
This commit is contained in:
parent
7e10fa23b1
commit
c1a9362801
|
@ -87,7 +87,9 @@ export const CollectionDownloadProgress: React.FC<CollectionDownloadProgressProp
|
|||
onClose={handleClose}
|
||||
keepOpenOnClick
|
||||
attributes={{
|
||||
variant: 'secondary',
|
||||
variant: downloadCompletedWithErrors
|
||||
? 'critical'
|
||||
: 'secondary',
|
||||
title: downloadCompletedWithErrors
|
||||
? t('DOWNLOAD_FAILED')
|
||||
: downloadCompleted
|
||||
|
|
Loading…
Reference in a new issue