dashboard
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user