feat(bookstack) : integrate TaskBookStackLinks into TaskModal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user