diff --git a/src/components/ContactsEmptyState.svelte b/src/components/ContactsEmptyState.svelte new file mode 100644 index 00000000..61ee6e5b --- /dev/null +++ b/src/components/ContactsEmptyState.svelte @@ -0,0 +1,17 @@ + + +
+

+ + There are no contacts added yet.
+ Add your first contact +

+
+ + diff --git a/src/components/ContactsOverview.svelte b/src/components/ContactsOverview.svelte index 6984475d..86546d2b 100644 --- a/src/components/ContactsOverview.svelte +++ b/src/components/ContactsOverview.svelte @@ -6,7 +6,7 @@ current_contacts=result; }) import store from "../store"; - // import TeamsEmptyState from "./TeamsEmptyState.svelte"; + import ContactsEmptyState from "./ContactsEmptyState.svelte"; $: searchvalue = ""; $: active_deletes = []; export let current_contacts = []; @@ -22,7 +22,7 @@ {:then} {#if current_contacts.length === 0} - + {:else} {JSON.stringify(current_contacts)}
- {#if t.contact} - {JSON.stringify(t.contact)} - {:else}no contact specified{/if} + + {t.address.address1}
+ {t.address.address2 || ''}
+ {t.address.postalcode} + {t.address.city} + {t.address.country}
@@ -118,20 +121,16 @@ Delete