mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Merge branch 'feature/office365' of bitbucket.org:studiotem/jandl-taskmanager-app
This commit is contained in:
commit
b56aee8166
3 files changed
+3
-3
No files matched your search
@@ -157,7 +157,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onDragStart(e) {
|
onDragStart(e) {
|
||||||
if (this.event.type == 'blocker' || this.event.type == 'non-working-hours') return //|| this.event._timeblock_is_finished || this.event.subtask?.is_finished
|
if (this.event.type == 'blocker' || this.event.type == 'non-working-hours' || this.event.type == 'office365_blocker') return //|| this.event._timeblock_is_finished || this.event.subtask?.is_finished
|
||||||
this.event.draggingStatic = false
|
this.event.draggingStatic = false
|
||||||
this.dnd && this.dnd.eventDragStart(e, this.event);
|
this.dnd && this.dnd.eventDragStart(e, this.event);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="['subtask', 'blocker', 'adhoc', 'vacation', 'free_day', 'office365'].includes(event.type)" class="custom-event-body colWidth h-100 d-flex flex-column justify-space-between" :class="subtaskCssClass" :style="{ backgroundColor: event._timeblock_is_finished || event.subtask?.is_finished ? '#dedfe0' : event.color || event.subtask?.color }">
|
<div v-else-if="['subtask', 'blocker', 'adhoc', 'vacation', 'free_day', 'office365', 'office365_blocker'].includes(event.type)" class="custom-event-body colWidth h-100 d-flex flex-column justify-space-between" :class="subtaskCssClass" :style="{ backgroundColor: event._timeblock_is_finished || event.subtask?.is_finished ? '#dedfe0' : event.color || event.subtask?.color }">
|
||||||
<div class="event-content" :class="{ 'is-blocker': props.event.isBlocker }">
|
<div class="event-content" :class="{ 'is-blocker': props.event.isBlocker }">
|
||||||
<template v-if="['subtask', 'office365'].includes(event.type)">
|
<template v-if="['subtask', 'office365'].includes(event.type)">
|
||||||
<small v-if="props.event.subtask.project_code" class="project-code">{{ props.event.subtask.project_code }}</small>
|
<small v-if="props.event.subtask.project_code" class="project-code">{{ props.event.subtask.project_code }}</small>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export default {
|
|||||||
const tasks = []
|
const tasks = []
|
||||||
|
|
||||||
subtasks.forEach(subtask => {
|
subtasks.forEach(subtask => {
|
||||||
if (['blocker', 'adhoc', 'home_office', 'vacation', 'free_day'].includes(subtask.type)) {
|
if (['blocker', 'adhoc', 'home_office', 'vacation', 'free_day', 'office365_blocker'].includes(subtask.type)) {
|
||||||
blockers = [...blockers, ...this._generateEventsFromBlocker(subtask, date)]
|
blockers = [...blockers, ...this._generateEventsFromBlocker(subtask, date)]
|
||||||
} else {
|
} else {
|
||||||
subtask.timeblocks?.forEach((timeblock) => {
|
subtask.timeblocks?.forEach((timeblock) => {
|
||||||
|
|||||||
Reference in new issue
Block a user