[Timeblocks] Option to close time block

This commit is contained in:
Matej Glasnák committed 2023-05-23 11:47:16 +02:00
1 parent f3ed454d6f
commit 3e8cbfb3e4
5 files changed
+55 -15

No files matched your search

@@ -1,7 +1,7 @@
<template>
<A-mastertask-name :name="subtask._master_task.name" :id="subtask.master_task_id" :color="subtask._master_task.color" @close-modal="$emit('close-modal')" />
<A-mastertask-status :status="subtask.is_finished" />
<A-task-timeblocks :timeblocks="subtask.timeblocks" :subtask="subtask" />
<A-task-timeblocks :timeblocks="subtask.timeblocks" :subtask="subtask" @update-subtask="$emit('update-subtask', $event)" />
<Z-created-by :employee-id="subtask.created_by" />
<A-task-assigned-employee :employee="subtask._employee" />
<A-task-planned-time :hours="subtask.duration" />
@@ -24,7 +24,7 @@ import ATaskDescription from './_components/a-task-description.vue'
import ZFiles from '@/plugins/tm@modal/_components/read-only/z-files.vue'
export default {
emits: ['close-modal'],
emits: ['close-modal', 'update-subtask'],
components: {
ZFiles,