Skip to content

Commit 94614ec

Browse files
javier-godoymlopezFC
authored andcommitted
fix: fix Vaadin 23 compatibility issue
Close #7
1 parent e089a99 commit 94614ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/META-INF/frontend/fc-month-calendar/fc-month-calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class FcMonthCalendarElement extends MonthCalendarMixin {
9999
`;}
100100

101101
_setStyleForDay(i,className) {
102-
let e = this.$.element.shadowRoot.querySelectorAll("[part='date'][role='button']")[i-1];
102+
let e = this.$.element.shadowRoot.querySelectorAll("[part='date']:not(:empty)")[i-1];
103103
if (className) {
104104
e.className=className;
105105
} else {

0 commit comments

Comments
 (0)