diff --git a/src/routes/app/projects/+layout.ts b/src/routes/app/projects/+layout.ts index bb2f96477..f2999687d 100644 --- a/src/routes/app/projects/+layout.ts +++ b/src/routes/app/projects/+layout.ts @@ -2,7 +2,7 @@ import { breadcrumbTrail } from "$lib/utils/navigation"; export async function load({ parent }) { const breadcrumbs = await breadcrumbTrail(parent, [ - { href: "app/projects", title: "Projects" }, + { href: "/app/projects", title: "Projects" }, ]); return { breadcrumbs, diff --git a/src/routes/app/projects/[id]-[slug]/+page.svelte b/src/routes/app/projects/[id]-[slug]/+page.svelte index 52c3aee67..9047a0ef6 100644 --- a/src/routes/app/projects/[id]-[slug]/+page.svelte +++ b/src/routes/app/projects/[id]-[slug]/+page.svelte @@ -53,7 +53,7 @@ {#await documentSearch} Loading project documents… {:then documentSearchResults} - {#if documentSearchResults.results} + {#if documentSearchResults.results.length}