fixed notification new app message count
This commit is contained in:
parent
293a659f22
commit
0cae8df08d
@ -72,8 +72,10 @@ class Header
|
||||
$new_apps = $this->getNotifications('new-apps');
|
||||
|
||||
if ($new_apps) {
|
||||
foreach ($new_apps as $new_app) {
|
||||
foreach ($new_apps as $key => $new_app) {
|
||||
if (setting('notifications.' . user()->id . '.' . $new_app->alias)) {
|
||||
unset($new_apps[$key]);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user