refactor(frontend) : remove projectId from TaskStatusDrawer
This commit is contained in:
@@ -38,7 +38,6 @@ import { useTaskStatusService } from '~/services/task-statuses'
|
||||
const props = defineProps<{
|
||||
modelValue: boolean
|
||||
item: TaskStatus | null
|
||||
projectId: number
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -91,7 +90,6 @@ async function handleSubmit() {
|
||||
label: form.label.trim(),
|
||||
position: Number(form.position),
|
||||
color: form.color,
|
||||
project: `/api/projects/${props.projectId}`,
|
||||
}
|
||||
|
||||
if (isEditing.value && props.item) {
|
||||
|
||||
Reference in New Issue
Block a user