forked from mirrors/easyappointments
Merge pull request #1393 from popod/patch-2
fix display of long unavailability notes
This commit is contained in:
commit
1eadda64c5
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue