feat(bookstack) : integrate TaskBookStackLinks into TaskModal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 18:15:39 +01:00
parent 66a75c6b6a
commit 7bf632c1da

View File

@@ -152,6 +152,12 @@
:gitea-url="giteaUrl" :gitea-url="giteaUrl"
/> />
<!-- BookStack links -->
<TaskBookStackLinks
v-if="hasBookStack && isEditing && task"
:task-id="task.id"
/>
<!-- Footer --> <!-- Footer -->
<div <div
class="mt-6 flex items-center border-t border-neutral-100 pt-5" class="mt-6 flex items-center border-t border-neutral-100 pt-5"
@@ -263,6 +269,10 @@ const hasGitea = computed(() => {
return !!props.task?.project?.giteaOwner && !!props.task?.project?.giteaRepo && !!giteaUrl.value return !!props.task?.project?.giteaOwner && !!props.task?.project?.giteaRepo && !!giteaUrl.value
}) })
const hasBookStack = computed(() => {
return !!props.task?.project?.bookstackShelfId
})
const form = reactive({ const form = reactive({
title: '', title: '',
description: '', description: '',