mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 23:09:35 +00:00
feat(z-task-modal): implement draft handling for timeblocks and improve employee-specific timeblock management
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user