Skip to content

Commit

Permalink
Fix packages and builder table
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Nov 16, 2024
1 parent c99f8d3 commit 2c1e183
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/components/builder-table.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ type Package = {
updatedAt: Date;
publishedAt: Date;
locale: string;
version: string;
log_link: string;
};
Expand Down Expand Up @@ -103,17 +102,6 @@ let totalPackages = apiResponse.meta.pagination.total;
{
builderData.map((row: Package) => (
<tr>
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 dark:text-gray-200 sm:pl-0">
<div class="flex items-center justify-between ">
<span class="font-medium">{row.package_name ?? ""}</span>
<span
class="text-xs text-gray-500 dark:text-gray-400"
style="line-height:1.3rem!important"
>
{row.version ?? ""}
</span>
</div>
</td>
<td class="whitespace-nowrap px-2 py-2 text-sm text-gray-900">
<a
href={row.log_link}
Expand Down Expand Up @@ -246,17 +234,6 @@ let totalPackages = apiResponse.meta.pagination.total;
data.map((row) => {
const tr = document.createElement("tr");
tr.innerHTML = `
<td class="whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 dark:text-gray-200 sm:pl-0">
<div class="flex items-center justify-between ">
<span class="font-medium">${row.package_name ?? ""}</span>
<span
class="text-xs text-gray-500 dark:text-gray-400"
style="line-height:1.3rem!important"
>
${row.version ?? ""}
</span>
</div>
</td>
<td class="whitespace-nowrap px-2 py-2 text-sm text-gray-900">
<a
href=${row.log_link}
Expand Down

0 comments on commit 2c1e183

Please sign in to comment.