Loading...
-{:then players}
-
+
+
+ debounce(e.currentTarget.value, (v) => {
+ search = v;
+ })}
+ oninput={(e) =>
+ debounce(e.currentTarget.value, (v) => {
+ search = v;
+ })}
+ />
+
+
+
+
+ {#each table.getHeaderGroups() as headerGroup (headerGroup.id)}
+
+ {#each headerGroup.headers as header (header.id)}
+
+ {#if !header.isPlaceholder}
+
+ {/if}
+
+ {/each}
+
+ {/each}
+
+
+ {#each table.getRowModel().rows as row (row.id)}
+
+ {#each row.getVisibleCells() as cell (cell.id)}
+
+
+
+ {/each}
+
+ {:else}
+
+ No players found.
+
+ {/each}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/moderator/pages/players/Table.svelte b/src/components/moderator/pages/players/Table.svelte
deleted file mode 100644
index 1d8dc68..0000000
--- a/src/components/moderator/pages/players/Table.svelte
+++ /dev/null
@@ -1,174 +0,0 @@
-
-
-
-
-
-
-
{
- table.getColumn("name")?.setFilterValue(e.currentTarget.value);
- }}
- oninput={(e) => {
- table.getColumn("name")?.setFilterValue(e.currentTarget.value);
- }}
- class="max-w-sm"
- />
-
-
-
-
-
-
- {#each table.getHeaderGroups() as headerGroup (headerGroup.id)}
-
- {#each headerGroup.headers as header (header.id)}
-
- {#if !header.isPlaceholder}
-
- {/if}
-
- {/each}
-
- {/each}
-
-
- {#each table.getRowModel().rows as row (row.id)}
-
- {#each row.getVisibleCells() as cell (cell.id)}
-
-
-
- {/each}
-
- {:else}
-
-
- No results.
-
-
- {/each}
-
-
-
-
- {pagination.pageIndex + 1}/{table.getPageCount()}
-
-
-
\ No newline at end of file
diff --git a/src/components/repo/auditlog.ts b/src/components/repo/auditlog.ts
index ee2609b..2499585 100644
--- a/src/components/repo/auditlog.ts
+++ b/src/components/repo/auditlog.ts
@@ -7,11 +7,11 @@ export class AuditLogRepo {
actionText: string | undefined,
serverText: string | undefined,
fullText: string | undefined,
- actor: string[] | undefined,
+ actor: number[] | undefined,
actionType: string[] | undefined,
timeFrom: number | undefined,
timeTo: number | undefined,
- serverOwner: string[] | undefined,
+ serverOwner: number[] | undefined,
velocity: boolean | undefined,
page: number,
pageSize: number,
diff --git a/src/components/repo/data.ts b/src/components/repo/data.ts
index b6a87db..44cf672 100644
--- a/src/components/repo/data.ts
+++ b/src/components/repo/data.ts
@@ -17,8 +17,8 @@
* along with this program. If not, see