Add length informations & fix issues
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -34,11 +34,10 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const leakName = dataleak.Name;
|
||||
const columns = samples[0].join(", ");
|
||||
const sampleRows = samples.slice(1).map(r => r.join(", ")).join("\n");
|
||||
const columns = samples[0].join(",");
|
||||
const sampleRows = samples.slice(1).map(r => r.join(",")).join("\n");
|
||||
|
||||
const textToCopy = `Leak Name: ${leakName}\nColumns: ${columns}\nSample:\n${sampleRows}`;
|
||||
const textToCopy = `Leak Name: ${dataleak.Name}\nLength: ${dataleak.Length}\nColumns: ${columns}\nSample:\n${sampleRows}`;
|
||||
|
||||
try {
|
||||
await navigator.clipboard.writeText(textToCopy);
|
||||
@@ -56,6 +55,7 @@
|
||||
class="text-nowrap flex gap-2 items-center hover:text-base-content/70"
|
||||
onclick={() => {
|
||||
popupOpen = true;
|
||||
samples = [];
|
||||
getSample();
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
: ""}
|
||||
/>
|
||||
</th>
|
||||
<th class="">
|
||||
<th>
|
||||
<DatawellPopup dataleak={item}/>
|
||||
</th>
|
||||
<td>{item.Length.toLocaleString("fr")}</td>
|
||||
|
||||
Reference in New Issue
Block a user