Skip to content

Commit

Permalink
Update src/routes/documents/[id]-[slug]/sidebar/Data.svelte
Browse files Browse the repository at this point in the history
Co-authored-by: Allan Lasser <[email protected]>
  • Loading branch information
eyeseast and allanlasser authored Mar 26, 2024
1 parent f65c12f commit b537c11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/routes/documents/[id]-[slug]/sidebar/Data.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import type { Document } from "$lib/api/types";
import { Tag16 } from "svelte-octicons";
import { Tag24 } from "svelte-octicons";
import Empty from "@/lib/components/common/Empty.svelte";
import KV from "@/lib/components/common/KV.svelte";
Expand All @@ -16,13 +16,13 @@
</script>

<SidebarGroup>
<h2 slot="title">
<SidebarItem slot="title">
<Tag16 />
Data & Tags
</h2>
</SidebarItem>

{#if empty}
<Empty icon={Tag16}>
<Empty icon={Tag24}>
<p>Use tags or key/value data to organize documents</p>
</Empty>
<!-- todo: data and tag components -->
Expand Down

0 comments on commit b537c11

Please sign in to comment.