* Finish executionstatisticblock metric data.
This commit is contained in:
@@ -93,7 +93,7 @@ $getExecutionInfo = function(array $executions, string $blockNavID, bool $longBl
|
||||
$execution->totalEstimate = rand(0, 1000);
|
||||
$execution->totalConsumed = rand(0, 1000);
|
||||
$execution->totalLeft = rand(0, $execution->totalEstimate);
|
||||
$execution->progress = round($execution->totalLeft / $execution->totalEstimate * 100);
|
||||
$execution->progress = $execution->totalEstimate ? round($execution->totalLeft / $execution->totalEstimate * 100) : 0;
|
||||
$execution->doneStory = rand(0, 1000);
|
||||
$execution->totalStory = rand(0, 1000);
|
||||
$execution->totalTask = rand(0, 1000);
|
||||
|
||||
Reference in New Issue
Block a user