Skip to content

Commit

Permalink
Fix page actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmandrade authored Apr 20, 2023
1 parent fde065d commit e744ea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Concerns/HasCopyable.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function setUp(): void
->successNotificationTitle(__('Copied!'))
->icon('heroicon-o-clipboard-copy')
->extraAttributes(fn () => [
'x-data' => '',
'x-on:click' => new HtmlString('window.navigator.clipboard.writeText('.Js::from($this->getCopyable()).'); $tooltip('.Js::from($this->getSuccessNotificationTitle()).');')
]);
}
Expand Down

0 comments on commit e744ea5

Please sign in to comment.