Skip to content

Commit 22262e9

Browse files
author
aadamgough
committed
conditionally render the description placeholder
1 parent d00583f commit 22262e9

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/knowledge/[id]

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/knowledge/[id]/base.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ export function KnowledgeBase({
12541254
>
12551255
{knowledgeBase.description}
12561256
</p>
1257-
) : userPermissions.canEdit ? (
1257+
) : isEditingName && userPermissions.canEdit ? (
12581258
<p
12591259
className='mt-[4px] cursor-text font-medium text-[14px] text-[var(--text-muted)] transition-colors hover:text-[var(--text-tertiary)]'
12601260
onDoubleClick={handleStartEditDescription}

0 commit comments

Comments
 (0)