webbingbrasil / filament-copyactions

A easy-to-use copy actions for Filament Admin Pages, Tables and Form Fields.
56 stars 15 forks source link

Undefined variable `$success` after upgrading to 1.1.1 #19

Closed zhanang19 closed 1 year ago

zhanang19 commented 1 year ago

Describe the bug After upgrading to 1.1.1 version, I got an error Undefined variable $success

After checking the file history, it seems this commit that leads to this errors.

https://github.com/webbingbrasil/filament-copyactions/blob/f692b195781fe93d7cb41fd21f55a1b955c141f9/resources/views/columns/copyable-text-column.blade.php#L62-L68

https://github.com/webbingbrasil/filament-copyactions/blob/f692b195781fe93d7cb41fd21f55a1b955c141f9/resources/views/columns/copyable-text-column.blade.php#L88-L94

To Reproduce Steps to reproduce the behavior:

  1. Implement CopyableTextColumn component on a resource
  2. Open the resource index page, and you will see the error

Expected behavior There is no error