🐛 fix: syntax error in contacts-web +layout.svelte

Remove stray closing brace and fix indentation in onMount.
This commit is contained in:
Till-JS 2026-01-30 18:58:38 +01:00
parent 744d0c9c61
commit 2daaee74fd

View file

@ -285,17 +285,15 @@
viewModeStore.initialize();
contactsFilterStore.initialize();
// Fetch user data
// Load user settings and tags
await userSettings.load();
// Load user settings and tags
await userSettings.load();
// Load tags for Quick-Create
try {
const tagsResult = await tagsApi.list();
availableTags = (tagsResult.tags || []).map((t) => ({ id: t.id, name: t.name }));
} catch (e) {
console.error('Failed to load tags:', e);
}
// Load tags for Quick-Create
try {
const tagsResult = await tagsApi.list();
availableTags = (tagsResult.tags || []).map((t) => ({ id: t.id, name: t.name }));
} catch (e) {
console.error('Failed to load tags:', e);
}
// Initialize sidebar mode from localStorage