@sprucelabs/spruce-calendar-components 22.10.102 → 22.10.103
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.
|
@@ -40,7 +40,7 @@ export default class CalendarSelectCardViewController extends AbstractViewContro
|
|
|
40
40
|
}
|
|
41
41
|
renderCalendarRow(calendar) {
|
|
42
42
|
return {
|
|
43
|
-
id: calendar.
|
|
43
|
+
id: calendar.slug,
|
|
44
44
|
cells: [
|
|
45
45
|
{
|
|
46
46
|
text: { content: calendar.title },
|
|
@@ -78,7 +78,7 @@ export default class CalendarSelectCardViewController extends AbstractViewContro
|
|
|
78
78
|
const records = this.activeVc.getRecords();
|
|
79
79
|
const ids = [];
|
|
80
80
|
for (const calendar of records) {
|
|
81
|
-
if (this.rowForCalendar(calendar.
|
|
81
|
+
if (this.rowForCalendar(calendar.slug).getValue('isVisible')) {
|
|
82
82
|
ids.push(calendar.id);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -33,7 +33,7 @@ class CalendarSelectCardViewController extends heartwood_view_controllers_1.Abst
|
|
|
33
33
|
}
|
|
34
34
|
renderCalendarRow(calendar) {
|
|
35
35
|
return {
|
|
36
|
-
id: calendar.
|
|
36
|
+
id: calendar.slug,
|
|
37
37
|
cells: [
|
|
38
38
|
{
|
|
39
39
|
text: { content: calendar.title },
|
|
@@ -69,7 +69,7 @@ class CalendarSelectCardViewController extends heartwood_view_controllers_1.Abst
|
|
|
69
69
|
const records = this.activeVc.getRecords();
|
|
70
70
|
const ids = [];
|
|
71
71
|
for (const calendar of records) {
|
|
72
|
-
if (this.rowForCalendar(calendar.
|
|
72
|
+
if (this.rowForCalendar(calendar.slug).getValue('isVisible')) {
|
|
73
73
|
ids.push(calendar.id);
|
|
74
74
|
}
|
|
75
75
|
}
|