We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd11b85 commit f890be6Copy full SHA for f890be6
src/plugins/timelist/TimelistComponent.vue
@@ -436,6 +436,9 @@ export default {
436
437
return startInBounds || endInBounds || middleInBounds;
438
},
439
+ isActivityInProgress(activity) {
440
+ return this.persistedActivityStates[activity.id] === 'in-progress';
441
+ },
442
filterActivities(activity) {
443
if (this.isEditing) {
444
return true;
@@ -460,7 +463,8 @@ export default {
460
463
return false;
461
464
}
462
465
- if (!this.isActivityInBounds(activity)) {
466
+ // An activity may be out of bounds, but if it is in-progress, we show it.
467
+ if (!this.isActivityInBounds(activity) && !this.isActivityInProgress(activity)) {
468
469
470
//current event or future start event or past end event
0 commit comments