mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:49:33 +00:00
Fix download notification message can be string instead of array
This commit is contained in:
@@ -66,14 +66,14 @@ const Notifications = ({
|
||||
>
|
||||
<h3>{notification.title}</h3>
|
||||
<p>
|
||||
{notification.messages.map(message => {
|
||||
{notification.messages.map?.(message => {
|
||||
return (
|
||||
<Fragment key={message}>
|
||||
{message}
|
||||
<br />
|
||||
</Fragment>
|
||||
);
|
||||
})}
|
||||
}) || notification.messages}
|
||||
</p>
|
||||
<div className="task-control-icons">
|
||||
{notification['api_stop'] && notification.command !== 'STOP' && (
|
||||
|
||||
Reference in New Issue
Block a user