Fixed notification default typo ( #31zrc14 )

This commit is contained in:
Cüneyt Şentürk 2022-06-22 16:52:32 +03:00
parent 1c9563bdce
commit 94c927d685
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ class Notifications extends Component
public function getNotifications(): array
{
$notifications = new \stdClass();
$notifications->notifications = [];
$notifications->notifications = collect();
$notifications->keyword = $this->keyword;
event(new NotificationsCreated($notifications));

View File

@ -41,7 +41,7 @@ class Menu extends Component
{
// Get nofitications
$notifications = new \stdClass();
$notifications->notifications = [];
$notifications->notifications = collect();
$notifications->keyword = '';
event(new NotificationsCreated($notifications));