Skip to content

Commit

Permalink
Merge pull request #1393 from popod/patch-2
Browse files Browse the repository at this point in the history
fix display of long unavailability notes
  • Loading branch information
alextselegidis committed Jul 31, 2023
2 parents 307d44b + fa55a48 commit 1eadda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/utils/calendar_default_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1eadda6

Please sign in to comment.