[Projects] Added filters

This commit is contained in:
Matej Glasnák committed 2023-03-01 14:19:33 +01:00
1 parent 919b2eebbe
commit 302286bff8
29 files changed
+508 -350

No files matched your search

@@ -139,11 +139,11 @@ export default {
try {
const employees = await this.$axios.get_auth_data('v1/employees')
this.employees = tmUtils.enrichEmployeesByFullName(employees)
this.employees = tmUtils.enrichEmployees(employees)
if (blocker?.id) {
const b = await this.$axios.get_auth_data(`v1/blockers/${blocker.id}`)
this.blocker = {...b, employees: tmUtils.enrichEmployeesByFullName(b.employees)}
this.blocker = {...b, employees: tmUtils.enrichEmployees(b.employees)}
} else {
this.blocker = {employees: []}
}