diff --git a/src/lib/components/Drawer.svelte b/src/lib/components/Drawer.svelte new file mode 100644 index 0000000..096dd6b --- /dev/null +++ b/src/lib/components/Drawer.svelte @@ -0,0 +1,138 @@ + + + +
+ {#if $open} +
+
+ +

{dialogTitle}

+

{dialogContent}

+
+ {/if} +
+ + diff --git a/src/routes/(nav)/[[selectedMember]]/Table.svelte b/src/routes/(nav)/[[selectedMember]]/Table.svelte index e31ce70..deedac0 100644 --- a/src/routes/(nav)/[[selectedMember]]/Table.svelte +++ b/src/routes/(nav)/[[selectedMember]]/Table.svelte @@ -13,6 +13,7 @@ import type { GetContacts } from "$api/contacts"; import { page } from "$app/stores"; + import Drawer from "$lib/components/Drawer.svelte"; import LineTableRow from "$lib/components/LineTableRow.svelte"; import { formatDateToPST } from "$lib/util/formatDateToPST"; @@ -179,7 +180,15 @@ {#each row.getVisibleCells() as cell} - + {#if cell.column.id === "notes"} + + {:else} + + {/if} {/each}