Skip to content

Commit

Permalink
fix(restoreActivity): Create JavaScript string from the activity item…
Browse files Browse the repository at this point in the history
… key.
  • Loading branch information
fabianpnke authored Oct 1, 2023
1 parent 3247e25 commit f9657d9
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 f9657d9

Please sign in to comment.