Fixed notification default typo ( #31zrc14 )
This commit is contained in:
parent
1c9563bdce
commit
94c927d685
@ -91,7 +91,7 @@ class Notifications extends Component
|
|||||||
public function getNotifications(): array
|
public function getNotifications(): array
|
||||||
{
|
{
|
||||||
$notifications = new \stdClass();
|
$notifications = new \stdClass();
|
||||||
$notifications->notifications = [];
|
$notifications->notifications = collect();
|
||||||
$notifications->keyword = $this->keyword;
|
$notifications->keyword = $this->keyword;
|
||||||
|
|
||||||
event(new NotificationsCreated($notifications));
|
event(new NotificationsCreated($notifications));
|
||||||
|
@ -41,7 +41,7 @@ class Menu extends Component
|
|||||||
{
|
{
|
||||||
// Get nofitications
|
// Get nofitications
|
||||||
$notifications = new \stdClass();
|
$notifications = new \stdClass();
|
||||||
$notifications->notifications = [];
|
$notifications->notifications = collect();
|
||||||
$notifications->keyword = '';
|
$notifications->keyword = '';
|
||||||
|
|
||||||
event(new NotificationsCreated($notifications));
|
event(new NotificationsCreated($notifications));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user