From 16a5249de6be7150ec2904955d8ce94bb308e39f Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 6 Sep 2026 13:36:55 +0200 Subject: [PATCH] wip --- app/Livewire/BoardDispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/BoardDispatcher.php b/app/Livewire/BoardDispatcher.php index 10e8a2da..d456c4c1 100644 --- a/app/Livewire/BoardDispatcher.php +++ b/app/Livewire/BoardDispatcher.php @@ -78,11 +78,11 @@ class BoardDispatcher extends Component public function copyResult() { - $copystring = shell_exec("Line One\nLine Two\nLine Three"); + $copystring = `Line One\nLine Two\nLine Three`; // foreach ($this->results as $row) { // $copystring .= "`" . implode("\t", $row) . "\n`"; // } - $this->js("navigator.clipboard.writeText('{$copystring}')"); + $this->js("navigator.clipboard.writeText(`Line One\nLine Two\nLine Three`)"); }