fix display of long unavailability notes

This commit is contained in:
popod 2023-07-28 16:41:25 +02:00 committed by GitHub
parent c39dad618e
commit fa55a4832b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1213,7 +1213,7 @@ App.Utils.CalendarDefaultView = (function () {
let notes = unavailability.notes ? ' - ' + unavailability.notes : ''; let notes = unavailability.notes ? ' - ' + unavailability.notes : '';
if (unavailability.notes && unavailability.notes.length > 30) { if (unavailability.notes && unavailability.notes.length > 30) {
notes = unavailability.notes.substring(0, 30) + '...'; notes = ' - ' + unavailability.notes.substring(0, 30) + '...';
} }
const unavailabilityEvent = { const unavailabilityEvent = {