From 7457616e0c006ceddebb2957a2e20cca0e4d05bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matej=20Glasn=C3=A1k?=
Date: Thu, 17 Oct 2024 08:30:09 +0200
Subject: [PATCH 1/3] [Master Task] Added option to remove current team
---
.../master-task/z-master-task-modal.vue | 23 +++++++++++--------
1 file changed, 14 insertions(+), 9 deletions(-)
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 ece524b..d125133 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
@@ -23,7 +23,7 @@
-
+
@@ -31,7 +31,7 @@
{{ employee?.name.charAt(0) + employee?.surname.charAt(0) }}
-
+
@@ -42,7 +42,7 @@
{{ employee?.name.charAt(0) + employee?.surname.charAt(0) }}
-
+
@@ -446,19 +446,21 @@ export default {
background: #6200EE
color: #fff
border-radius: 50%
- padding: 13px
font-size: 11.5px
- height: 24px
- width: 24px
+ height: 22px
+ width: 22px
position: absolute
top: 50%
- right: 0
- transform: translate(-120%, -50%)
+ right: 12px
+ transform: translate(0, -50%)
.remove-input
position: absolute
top: 50%
- transform: translate(120%, -50%)
+ right: 0px
+ transform: translate(-15px, -50%)
+ color: rgb(102, 102, 102) !important
+ z-index: 10
cursor: pointer
.scrolling
@@ -472,4 +474,7 @@ export default {
color: #7f39fb !important
height: 53px
text-align: center
+
+:deep(.v-field__clearable)
+ opacity: 1 !important
From 8a0e9072c10f8da09c4b72df49870fce485977ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matej=20Glasn=C3=A1k?=
Date: Thu, 17 Oct 2024 08:36:08 +0200
Subject: [PATCH 2/3] [Fix] Handling of deleted employee in master task
---
.../master-task/_components/a-tasks-table.vue | 4 ++--
.../tm@modal/master-task/z-master-task-modal.vue | 13 +++++++++----
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/app/src/plugins/tm@modal/master-task/_components/a-tasks-table.vue b/app/src/plugins/tm@modal/master-task/_components/a-tasks-table.vue
index 187e9ef..3d71c97 100644
--- a/app/src/plugins/tm@modal/master-task/_components/a-tasks-table.vue
+++ b/app/src/plugins/tm@modal/master-task/_components/a-tasks-table.vue
@@ -47,8 +47,8 @@ export default {
return {
...subtask,
- _employeeInitials: employee._initials,
- _employeeFullName: employee._fullName
+ _employeeInitials: employee ? employee._initials : '?',
+ _employeeFullName: employee ? employee._fullName : ''
}
})
}
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 d125133..b44d7c9 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
@@ -23,7 +23,7 @@
-
+
@@ -50,7 +50,7 @@
- Pridať zamestnanca
+ Pridať zamestnanca