Skip to content

Commit

Permalink
limit account number in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Dec 21, 2017
1 parent 039fe2d commit b156aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Dashboard/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function index()

list($donut_incomes, $donut_expenses) = $this->getDonuts();

$accounts = Account::enabled()->get();
$accounts = Account::enabled()->take(6)->get();

$latest_incomes = $this->getLatestIncomes();

Expand Down

0 comments on commit b156aee

Please sign in to comment.