forked from verdnatura/salix-front
refs #6332 fix calendar
This commit is contained in:
parent
3d6fac5338
commit
81f7e06143
|
@ -163,10 +163,7 @@ const getEventAttrs = (timestamp) => {
|
||||||
if (isFestive) {
|
if (isFestive) {
|
||||||
attrs.class = '--festive';
|
attrs.class = '--festive';
|
||||||
attrs.label = event.absenceId ? timestamp.day : '';
|
attrs.label = event.absenceId ? timestamp.day : '';
|
||||||
// attrs.style = 'color: red';
|
} else attrs.class = `--${type}`;
|
||||||
}
|
|
||||||
// if(type === 'holiday')
|
|
||||||
else attrs.class = `--${type}`;
|
|
||||||
|
|
||||||
return attrs;
|
return attrs;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue