dashboard

This commit is contained in:
2019-08-06 02:13:50 -05:00
parent c45766f2d9
commit 16e7244065

View File

@@ -49,6 +49,8 @@ class DashboardController extends Controller
'main_id' => auth()->user()->character_id,
])->count();
$altCount = 0;
//If the alt count is greater than 0 get all of the alt accounts
if($altCount > 0) {
$alts = UserAlt::where([
@@ -167,18 +169,6 @@ class DashboardController extends Controller
],
]);
if($openCount == 0) {
$open = null;
}
if($approvedCount == 0) {
$approved = null;
}
if($deniedCount == 0) {
$denied = null;
}
return view('dashboard')->with('openCount', $openCount)
->with('approvedCount', $approvedCount)
->with('deniedCount', $deniedCount)