From 2a7508da04cb9b46544426354b2caf7fb075a28d Mon Sep 17 00:00:00 2001 From: Cannonb4ll Date: Tue, 31 Oct 2023 08:34:55 +0100 Subject: [PATCH] fx --- app/Livewire/Header.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Livewire/Header.php b/app/Livewire/Header.php index 1eecc452..854c62ae 100644 --- a/app/Livewire/Header.php +++ b/app/Livewire/Header.php @@ -140,7 +140,8 @@ public function submitItemAction(): Action $item = Item::create([ 'title' => $data['title'], 'content' => $data['content'], - 'project_id' => $data['project_id'] ?? null + 'project_id' => $data['project_id'] ?? null, + 'board_id' => $data['board_id'] ?? null ]); $item->user()->associate(auth()->user())->save();