Merge pull request #1393 from popod/patch-2

fix display of long unavailability notes
This commit is contained in:
Alex Tselegidis 2023-07-31 08:36:51 +02:00 committed by GitHub
commit 1eadda64c5
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 = {