mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Feat(task) Added estimated hours, fixed edit for office tasks
This commit is contained in:
1 parent
687681865c
commit
86bc41450e
10 files changed
+72
-44
No files matched your search
@@ -109,7 +109,7 @@
|
||||
<div class="d-flex justify-space-between align-center modal-header border-bottom pb-4">
|
||||
<h1>{{ subtask.title }}</h1>
|
||||
<div class="d-flex justify-start">
|
||||
<img class="icon" :src="require('@/plugins/app/_img/icons/pencil.svg')" alt="pencil-icon" @click.stop="editMode = !editMode" />
|
||||
<img class="icon" :src="require('@/plugins/app/_img/icons/pencil.svg')" alt="pencil-icon" @click.stop="toggleEditMode" />
|
||||
<img class="icon trash" :src="require('@/plugins/app/_img/icons/bin.svg')" alt="trash-icon" @click.stop="openDeleteTaskModal(subtask)" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -239,6 +239,14 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
toggleEditMode() {
|
||||
// TODO office365: Only for office365 events
|
||||
return this.$events.emit('show-unable-to-edit-office-task-modal', { mode: 'edit' })
|
||||
|
||||
|
||||
// this.editMode = !this.editMode
|
||||
},
|
||||
|
||||
openDatepicker(ref) {
|
||||
this.$refs[ref].openMenu()
|
||||
},
|
||||
@@ -385,7 +393,9 @@ export default {
|
||||
},
|
||||
|
||||
openDeleteTaskModal(subtask) {
|
||||
this.$events.emit('show-delete-task-modal', { subtask })
|
||||
// TODO office365: Only for office365 events
|
||||
this.$events.emit('show-unable-to-edit-office-task-modal', { mode: 'delete' })
|
||||
// this.$events.emit('show-delete-task-modal', { subtask })
|
||||
},
|
||||
|
||||
showCompleteTaskModal() {
|
||||
|
||||
Reference in new issue
Block a user