Point to single source of truth for view name.

This commit is contained in:
James Cole
2024-04-08 07:45:58 +02:00
parent c166b9242e
commit 0e0eeb736f
4 changed files with 4 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ class ShowController extends Controller
$periods = $this->getAccountPeriodOverview($account, $firstTransaction, $end);
// if layout = v2, overrule the page title.
if ('v1' !== config('firefly.layout')) {
if ('v1' !== config('view.layout')) {
$subTitle = (string)trans('firefly.all_journals_for_account', ['name' => $account->name]);
}