Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Dec 8, 2023
1 parent 484222e commit 374bb9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
])

<x-filament::tabs
wire:ignore
:attributes="\Filament\Support\prepare_inherited_attributes($attributes)"
>
@foreach ($navigation as $navigationGroup)
Expand Down
6 changes: 5 additions & 1 deletion packages/tables/src/Actions/EditAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ protected function setUp(): void
$pivotData = Arr::only($data, $pivotColumns);

if (count($pivotColumns)) {
$translatableContentDriver->updateRecord($pivot, $pivotData);
if ($translatableContentDriver) {
$translatableContentDriver->updateRecord($pivot, $pivotData);
} else {
$pivot->update($pivotData);
}
}

$data = Arr::except($data, $pivotColumns);
Expand Down

0 comments on commit 374bb9d

Please sign in to comment.