#9771 added new status for task

This commit is contained in:
Daniel Cebrian 2023-04-24 15:36:40 +02:00
parent 65046caad4
commit 12fce7d891
1 changed files with 5 additions and 1 deletions

View File

@ -1956,7 +1956,11 @@ class DiscoveryTaskList extends HTML
if ($task['status'] <= 0
&& empty($task['summary']) === false
) {
$status = __('Done');
if ($task['status'] == -2) {
$status = __('Failed');
} else {
$status = __('Done');
}
} else if ($task['utimestamp'] == 0
&& empty($task['summary'])
) {