notification implementation into the toaster

This commit is contained in:
Čarodej
2022-03-12 08:40:35 +01:00
parent 0e45092795
commit 9e973b89ce
16 changed files with 294 additions and 209 deletions
@@ -18,7 +18,7 @@ class NotificationResource extends JsonResource
'id' => $this->id,
'type' => $this->type,
'attributes' => [
'type' => $this->data['type'],
'category' => $this->data['category'],
'title' => $this->data['title'],
'description' => $this->data['description'],
'action' => $this->data['action'] ?? null,