Add files and updates necessary to manage new layout.

This commit is contained in:
James Cole
2022-02-27 10:04:08 +01:00
parent 3f61b6d707
commit aa7d4a610b
9 changed files with 106 additions and 45 deletions

View File

@@ -103,7 +103,7 @@ class HomeController extends Controller
public function index(AccountRepositoryInterface $repository): mixed
{
if ('v3' === config('firefly.layout')) {
die('Please set your layout to "v1".');
return view('pwa');
}
$types = config('firefly.accountTypesByIdentifier.asset');
$count = $repository->count($types);