mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 00:39:32 -05:00
Dashboard not showing correct parity info.
This commit is contained in:
@@ -364,7 +364,6 @@ while (true) {
|
||||
$echo[$a][] = "<br><i class='fa fa-fw fa-clock-o'></i> "._('Elapsed time').": "._(my_clock(floor((time()-$sbSynced)/60)),2);
|
||||
$echo[$a][] = "<br><i class='fa fa-fw fa-flag-checkered'></i> "._('Estimated finish').': '.($bytes ? _(my_clock(round(((($delta*(($size-$spot)/($bytes/100+1)))/100)/60),0)),2) : _('Unknown'));
|
||||
$echo[$a][] = "<br><i class='fa fa-fw fa-search'></i> ".print_error(_var($var,'sbSyncErrs',0));
|
||||
$echo[$a] = implode($echo[$a]);
|
||||
} else {
|
||||
[$date,$duration,$speed,$status,$error,$action,$size] = last_parity_log();
|
||||
if (_var($var,'sbSyncExit',0)!=0) {
|
||||
@@ -468,6 +467,7 @@ while (true) {
|
||||
}
|
||||
$echo[$a] = [implode($echo[$a]), $extra];
|
||||
}
|
||||
|
||||
$echo = json_encode($echo);
|
||||
$md5_new = md5($echo,true);
|
||||
if ($md5_new !== $md5_old) {
|
||||
|
||||
Reference in New Issue
Block a user