@progressive-development/pd-calendar 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/PdCalendar.js +3 -2
package/package.json
CHANGED
package/src/PdCalendar.js
CHANGED
|
@@ -272,8 +272,9 @@ export class PdCalendar extends LitElement {
|
|
|
272
272
|
if (!this.hideWeekend || ((day !== 6) && (day !== 0))) {
|
|
273
273
|
const key = format(tmpDate, 'YYYY-MM-DD');
|
|
274
274
|
// TODO => Array / Unit Thema... hier fest auf 0 zugegriffen zunächst
|
|
275
|
-
|
|
276
|
-
const
|
|
275
|
+
|
|
276
|
+
const infoTxt = this.data && this.data[key] ? this.data[key][0].info : undefined;
|
|
277
|
+
const special = this.data && this.data[key]
|
|
277
278
|
? this.data[key][0].special || false
|
|
278
279
|
: false;
|
|
279
280
|
|