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