Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 16, 2025
1 parent 80326b4 commit f9e1515
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Source/Function/Commit/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface Commit {
html_url: string;
}
const UU
const UUID = _UUID();
---

<div>
Expand All @@ -50,7 +50,7 @@ const UU
<>
<table
class="w-full text-left text-sm text-stone-500 dark:text-stone-400"
id={UUID()}>
id={UUID}>
<thead class="bg-stone-50 text-xs uppercase text-stone-700 dark:bg-stone-700 dark:text-stone-400">
<tr>
<th scope="col" class="px-6 py-3">
Expand Down Expand Up @@ -119,8 +119,9 @@ const UU
}
</div>

<script define:vars={{}}>
new DataTable("#{UUID()}");
<script define:vars={{ UUID }}>

new DataTable(`#${UUID}`);

document
.querySelectorAll<HTMLSpanElement>("span[data-date]")
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@
"datatables.net-fixedcolumns-dt": "5.0.4",
"datatables.net-fixedheader-dt": "4.0.1",
"datatables.net-keytable-dt": "2.12.1",
"datatables.net-responsive-dt": "3.0.3",
"datatables.net-rowgroup-dt": "1.5.1",
"datatables.net-rowreorder-dt": "1.5.0",
"datatables.net-scroller-dt": "2.4.3",
"datatables.net-searchbuilder-dt": "1.8.1",
"datatables.net-searchpanes-dt": "2.3.3",
"datatables.net-select-dt": "3.0.0",
"dotenv": "16.4.7",
"firebase": "11.1.0",
"jquery": "3.7.1",
Expand Down

0 comments on commit f9e1515

Please sign in to comment.