OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
show error message on invalid drop
ulferts8fec6e4e8d2f
diff --git a/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts b/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.tsindex e06bc6aa10d..2ba0b495bb3 100644--- a/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts+++ b/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts@@ -5,7 +5,6 @@ import * as moment from "moment";import { Moment } from 'moment';import {StateService} from "@uirouter/core";import {I18nService} from "core-app/modules/common/i18n/i18n.service";-import {NotificationsService} from "core-app/modules/common/notifications/notifications.service";import {DomSanitizer} from "@angular/platform-browser";import timeGrid from '@fullcalendar/timegrid';import { EventInput, EventApi, Duration, View } from '@fullcalendar/core';@@ -24,6 +23,7 @@ import {TimeEntryEditService} from "core-app/modules/time_entries/edit/edit.servimport {TimeEntryCreateService} from "core-app/modules/time_entries/create/create.service";import {ColorsService} from "core-app/modules/common/colors/colors.service";import {BrowserDetector} from "core-app/modules/common/browser/browser-detector.service";+import { HalResourceNotificationService } from 'core-app/modules/hal/services/hal-resource-notification.service';interface CalendarViewEvent {el:HTMLElement;@@ -102,7 +102,7 @@ export class TimeEntryCalendarComponent implements OnInit, OnDestroy, AfterViewIprivate element:ElementRef,readonly i18n:I18nService,readonly injector:Injector,- readonly notificationsService:NotificationsService,+ readonly notifications:HalResourceNotificationService,private sanitizer:DomSanitizer,private configuration:ConfigurationService,private timezone:TimezoneService,@@ -360,7 +360,8 @@ export class TimeEntryCalendarComponent implements OnInit, OnDestroy, AfterViewI.then(event => {this.updateEventSet(event, 'update');})- .catch(() => {+ .catch((e) => {+ this.notifications.handleRawError(e);event.revert();});}