feat(z-task-modal): implement draft handling for timeblocks and improve employee-specific timeblock management

This commit is contained in:
Matej Glasnák committed 2026-01-08 02:10:46 +01:00
1 parent 1bca6cbfae
commit 81aaa293dd
3 files changed
+212 -49

No files matched your search

@@ -86,6 +86,12 @@ export default {
methods: {
async showModal({ subtask }) {
// Prevent using this modal for drafts - they should be edited instead
if (subtask.is_draft) {
this.$toast.info('Pre koncepty použite režim úprav');
return;
}
this.subtask = subtask;
this.visible = true;
this.form.hours = null;