Skip to content

Commit

Permalink
Actually fix the things
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 24, 2024
1 parent b714eb3 commit b40c62b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/app/projects/+layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/app/projects/[id]-[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{#await documentSearch}
<Empty icon={Hourglass24}>Loading project documents…</Empty>
{:then documentSearchResults}
{#if documentSearchResults.results}
{#if documentSearchResults.results.length}
<ResultsList
results={documentSearchResults.results}
next={documentSearchResults.next}
Expand Down

0 comments on commit b40c62b

Please sign in to comment.