Skip to content

Commit

Permalink
Fix sidebar link
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 19, 2024
1 parent 2ded65e commit ecf9e02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/app/+layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export async function load({ url, fetch, parent }) {
.list({ pinned: true }, fetch)
.then((r) => r.results);
const breadcrumbs = await breadcrumbTrail(parent, [
{ href: "/app", title: "Documents" }, // TODO: move document manager to `/documents` route
// { href: "/app", title: "Documents" }, // TODO: move document manager to `/documents` route
]);
return {
pinnedAddons,
Expand Down
4 changes: 3 additions & 1 deletion src/routes/app/sidebar/Projects.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@

<SidebarGroup>
<SidebarItem slot="title"><FileDirectory16 /> Projects</SidebarItem>
<a href="/projects" slot="action"><Action icon={Book16}>Explore</Action></a>
<a href="/app/projects" slot="action"
><Action icon={Book16}>Explore</Action></a
>
<Flex direction="column" gap={0}>
{#await pinned}
<Empty icon={Hourglass24}>Loading pinned projects…</Empty>
Expand Down

0 comments on commit ecf9e02

Please sign in to comment.