fix(xo-web/backup-ng): transfer/merge tasks not displayed in the logs (#4140)
Introduced by 865d2df124
This commit is contained in:
parent
2f644d5eeb
commit
f47df961f7
@ -283,7 +283,9 @@ const TaskLi = ({ className, task, ...props }) => {
|
||||
if (
|
||||
(Component = defined(
|
||||
() => COMPONENT_BY_TYPE[task.data.type.toLowerCase()],
|
||||
COMPONENT_BY_MESSAGE[task.message]
|
||||
|
||||
// work-around to not let defined handle the component as a safety function
|
||||
() => COMPONENT_BY_MESSAGE[task.message]
|
||||
)) === undefined
|
||||
) {
|
||||
return null
|
||||
|
Loading…
Reference in New Issue
Block a user