Skip to content

Commit

Permalink
Merge pull request #22 from fabianpnke/fix/activity-item-key
Browse files Browse the repository at this point in the history
fix(restoreActivity): Create JavaScript string from the activity item key
  • Loading branch information
pxlrbt authored Oct 17, 2023
2 parents 539a0d2 + f9657d9 commit 2e5a74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/pages/list-activities.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
labeled-from="sm"
color="gray"
class="right"
wire:click="restoreActivity({{ $activityItem->getKey() }})"
wire:click="restoreActivity({{ Js::from($activityItem->getKey()) }})"
>
@lang('filament-activity-log::activities.table.restore')
</x-filament::button>
Expand Down

0 comments on commit 2e5a74b

Please sign in to comment.