Skip to content

Commit

Permalink
add tenant page
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Nov 17, 2023
1 parent a7d8c7b commit 45d7064
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/pages/admin/tenants/[id].svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
const onCancel = () => {
showAddTenantModal = false
}
const tenantPage = (id: string) => `/admin/tenants/${id}`
</script>

<h1>Tenants</h1>
Expand All @@ -44,7 +46,7 @@
</tr>
{#each tenants as tenant (tenant.ID)}
<tr>
<td>{tenant.Name}</td>
<td><a href="{tenantPage(tenant.ID)}">{tenant.Name}</a></td>
<td>{tenant.CreatedAt}</td>
<td>{tenant.UpdatedAt}</td>
</tr>
Expand Down

0 comments on commit 45d7064

Please sign in to comment.