1
0

fix(kanban): do not allow to create new tasks in saved filter

This commit is contained in:
kolaente 2024-07-17 14:00:40 +02:00
parent ed5feee33a
commit 82ee9f18eb
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -156,7 +156,7 @@
>
<template #footer>
<div
v-if="canWrite"
v-if="canCreateTasks"
class="bucket-footer"
>
<div
@ -392,6 +392,7 @@ const bucketDraggableComponentData = computed(() => ({
const project = computed(() => props.projectId ? projectStore.projects[props.projectId] : null)
const view = computed(() => project.value?.views.find(v => v.id === props.viewId) as IProjectView || null)
const canWrite = computed(() => baseStore.currentProject?.maxRight > Rights.READ && view.value.bucketConfigurationMode === 'manual')
const canCreateTasks = computed(() => canWrite.value && props.projectId > 0)
const buckets = computed(() => kanbanStore.buckets)
const loading = computed(() => kanbanStore.isLoading)