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
1 changed files with 1 additions and 1 deletions

View File

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