mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix empty title.
This commit is contained in:
parent
c2da5931ec
commit
f674df4422
@ -81,7 +81,7 @@ Breadcrumbs::register(
|
||||
|
||||
$breadcrumbs->parent('accounts.index', $what);
|
||||
$breadcrumbs->push($account->name, route('accounts.show', [$account->id]));
|
||||
|
||||
if (!is_null($start) && !is_null($end)) {
|
||||
$title = trans(
|
||||
'firefly.between_dates_breadcrumb',
|
||||
['start' => $start ? $start->formatLocalized(strval(trans('config.month_and_day'))) : '',
|
||||
@ -89,6 +89,7 @@ Breadcrumbs::register(
|
||||
);
|
||||
$breadcrumbs->push($title, route('accounts.show', $account));
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Breadcrumbs::register(
|
||||
|
Loading…
Reference in New Issue
Block a user