diff --git a/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue b/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue
index c82e983..5549902 100644
--- a/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue
+++ b/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue
@@ -14,10 +14,10 @@
-
-
@@ -30,7 +30,7 @@
{{ employee?.name.charAt(0) + employee?.surname.charAt(0) }}
-
+
@@ -150,12 +150,12 @@ export default {
enrichedSubtasks() {
if (!this.mastertask?.subtasks)
return null
-
+
return this.mastertask.subtasks.map(subtask => {
const employee = this.enrichedEmployees.find(employee => employee.id == subtask.employee_id)
return {
- ...subtask,
+ ...subtask,
_initials: employee ? employee.name.charAt(0) + employee.surname.charAt(0) : '?',
_fullName: employee ? `${employee.name} ${employee.surname}` : ''
}
@@ -167,7 +167,7 @@ export default {
const quillEditorRequired = (value) => {
if (!value || !value.length || !value.replace(/<[^>]*>/g, '').length)
return false
-
+
return true
}
@@ -220,12 +220,12 @@ export default {
methods: {
removeEmployee({ id }) {
- const isEmployeeInTeam = this.mastertask.team?.employees.find(employee => employee.id == id)
+ // const isEmployeeInTeam = this.mastertask.team?.employees.find(employee => employee.id == id)
- if (isEmployeeInTeam) {
- this.mastertask.team_id = null
- this.mastertask.team = null
- }
+ // if (isEmployeeInTeam) {
+ // this.mastertask.team_id = null
+ // this.mastertask.team = null
+ // }
this.mastertask.employees = this.mastertask.employees.filter(employee => employee.id != id)
},