mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
fix(office365) fixed displaying office 365 tasks on teams overview screen
This commit is contained in:
1 parent
7747e55f7e
commit
c133824019
1 file changed
+6
-1
@@ -154,6 +154,11 @@ export default {
|
|||||||
subtask.timeblocks.forEach(timeblock => {
|
subtask.timeblocks.forEach(timeblock => {
|
||||||
const formattedDate = moment(timeblock.start).format('DD-MM-YYYY')
|
const formattedDate = moment(timeblock.start).format('DD-MM-YYYY')
|
||||||
|
|
||||||
|
let type = 'subtask';
|
||||||
|
|
||||||
|
if (subtask.type == 'office365')
|
||||||
|
type = 'office365'
|
||||||
|
|
||||||
if (formattedDate == calendarDate) {
|
if (formattedDate == calendarDate) {
|
||||||
tasks.push({
|
tasks.push({
|
||||||
id: subtask.id,
|
id: subtask.id,
|
||||||
@@ -167,7 +172,7 @@ export default {
|
|||||||
initials: employee?.name?.charAt(0)?.toUpperCase() + employee?.surname?.charAt(0)?.toUpperCase(),
|
initials: employee?.name?.charAt(0)?.toUpperCase() + employee?.surname?.charAt(0)?.toUpperCase(),
|
||||||
split: split,
|
split: split,
|
||||||
project_code: subtask.project_code,
|
project_code: subtask.project_code,
|
||||||
type: 'subtask',
|
type,
|
||||||
subtask,
|
subtask,
|
||||||
_timeblock_id: timeblock.id,
|
_timeblock_id: timeblock.id,
|
||||||
_timeblock_is_finished: timeblock.is_finished,
|
_timeblock_is_finished: timeblock.is_finished,
|
||||||
|
|||||||
Reference in new issue
Block a user