Remove optional chart (always enabled)

This commit is contained in:
James Cole
2018-03-09 05:44:35 +01:00
parent eabfe0769b
commit ad18b9b81b
3 changed files with 148 additions and 151 deletions

View File

@@ -165,7 +165,6 @@ class HomeController extends Controller
/** @var Carbon $end */
$end = session('end', Carbon::now()->endOfMonth());
$accounts = $repository->getAccountsById($frontPage->data);
$showDeps = Preferences::get('showDepositsFrontpage', false)->data;
$today = new Carbon;
// zero bills? Hide some elements from view.
@@ -185,7 +184,7 @@ class HomeController extends Controller
return view(
'index',
compact('count', 'subTitle', 'transactions', 'showDeps', 'billCount', 'start', 'end', 'today')
compact('count', 'subTitle', 'transactions', 'billCount', 'start', 'end', 'today')
);
}