This commit is contained in:
Timothy Jaeryang Baek committed 2026-10-30 16:01:47 +09:00
1 parent 09fbbd6d69
commit 9d1b4ef362
132 files changed
+4214 -1106

No files matched your search

@@ -1,4 +1,5 @@
<script lang="ts">
import CommentButton from '$lib/components/comments/CommentButton.svelte';
import { toast } from 'svelte-sonner';
import { v4 as uuidv4 } from 'uuid';
@@ -970,6 +971,9 @@
><ChevronLeft className="size-3" strokeWidth="2" />{$i18n.t('Back')}</button
>
<div class="flex items-center gap-2">
{#if !isExternalKnowledge && knowledge?.id}<CommentButton wrapperClassName="me-1"
resource={{ resource_type: 'knowledge', resource_id: knowledge.id }}
/>{/if}
{#if knowledge.write_access}
{#if $user?.permissions?.sharing?.knowledge || $user?.role === 'admin'}
<AccessButton