|
|
|
|
@ -1,16 +1,13 @@
@@ -1,16 +1,13 @@
|
|
|
|
|
<script> |
|
|
|
|
import Card from './Card.svelte'; |
|
|
|
|
|
|
|
|
|
import { onMount } from 'svelte'; |
|
|
|
|
import { byName } from '../../vcard.js'; |
|
|
|
|
import { api } from '../../urls.svelte'; |
|
|
|
|
import { error, yikes } from '../../warn.svelte'; |
|
|
|
|
import { onMount } from 'svelte'; |
|
|
|
|
import { t } from '../../translations.svelte'; |
|
|
|
|
|
|
|
|
|
import { byName } from '../../vcard.js'; |
|
|
|
|
|
|
|
|
|
let contacts = $state(null) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async function load(){ |
|
|
|
|
const url = api('contact/list'); |
|
|
|
|
const res = await fetch(url,{credentials:'include'}); |
|
|
|
|
|