Skip to content

Commit

Permalink
Merge pull request #14 from Givx/main
Browse files Browse the repository at this point in the history
Thank you very much for the contribution and sorry for the long delay.
  • Loading branch information
adrolli authored Nov 29, 2023
2 parents b186a79 + afb52d9 commit 85e5f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/JobsResource/Widgets/JobStatsOverview.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function getCards(): array

return [
Stat::make(__('filament-job-manager::translations.total_jobs'), $aggregatedInfo->count ?? 0),
Stat::make(__('filament-job-manager::translations.execution_time'), ($this->formatSeconds($aggregatedInfo->total_time_elapsed) ?? '0 s')),
Stat::make(__('filament-job-manager::translations.execution_time'), ($this->formatSeconds($aggregatedInfo->total_time_elapsed ?? 0)?? '0 s')),
Stat::make(__('filament-job-manager::translations.average_time'), ceil((float) $aggregatedInfo->average_time_elapsed).'s' ?? 0),
];
}
Expand Down

0 comments on commit 85e5f48

Please sign in to comment.