From b40c62bd04cf5f19ca0be75111ea63d97b53e4ff Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Wed, 24 Apr 2024 14:24:36 -0400 Subject: [PATCH] Actually fix the things --- src/routes/app/projects/+layout.ts | 2 +- src/routes/app/projects/[id]-[slug]/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}