wip
This commit is contained in:
1 parent
2cd671fc61
commit
9c6358c0ac
1 file changed
+5
@@ -39,6 +39,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
use RestrictsFileUploadsToSchemaComponents;
|
||||
|
||||
public array $sourceRecords = [];
|
||||
|
||||
public array $calculationVariables = [];
|
||||
|
||||
public array $filters = [];
|
||||
@@ -420,6 +421,10 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
|
||||
$copystring = '';
|
||||
foreach ($this->calculationVariables as $row) {
|
||||
if (! $copystring) {
|
||||
$row = array_keys($row);
|
||||
$copystring .= implode("\t", $row)."\n";
|
||||
}
|
||||
$copystring .= implode("\t", $row)."\n";
|
||||
}
|
||||
$this->js("navigator.clipboard.writeText(`$copystring`)");
|
||||
|
||||
Reference in new issue
Block a user