diff --git a/src/lib/components/avatarInitials.svelte b/src/lib/components/avatarInitials.svelte index f18ba99fd4..1696404a57 100644 --- a/src/lib/components/avatarInitials.svelte +++ b/src/lib/components/avatarInitials.svelte @@ -7,7 +7,7 @@ export let background: string | undefined = undefined; export let color = 'black'; - $: src = sdk.forConsole.avatars.getInitials(name, size * 2, size * 2, background).toString(); + $: src = sdk.forConsole.avatars.getInitials(name, size * 2, size * 2, background); diff --git a/src/lib/components/cardContainer.svelte b/src/lib/components/cardContainer.svelte index 0590e6182a..8021ec796c 100644 --- a/src/lib/components/cardContainer.svelte +++ b/src/lib/components/cardContainer.svelte @@ -16,7 +16,7 @@ $: planLimit = getServiceLimit(serviceId) || Infinity; - $: limit = preferences.get($page.route)?.limit ?? CARD_LIMIT; + $: limit = preferences.get($page.params.project, $page.route)?.limit ?? CARD_LIMIT;