ng-firebase-table-kxp 1.0.6 → 1.0.7
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.
|
@@ -1068,7 +1068,9 @@ class TableComponent {
|
|
|
1068
1068
|
});
|
|
1069
1069
|
}
|
|
1070
1070
|
});
|
|
1071
|
-
if (this.data.filterableOptions
|
|
1071
|
+
if (this.data.filterableOptions &&
|
|
1072
|
+
Array.isArray(this.data.filterableOptions) &&
|
|
1073
|
+
this.data.filterableOptions.length > 0) {
|
|
1072
1074
|
this.data.filterableOptions.forEach((option) => this.dropdownItems.push({ ...option, arrange: 'equals' }));
|
|
1073
1075
|
}
|
|
1074
1076
|
}
|
|
@@ -1594,7 +1596,8 @@ class TableComponent {
|
|
|
1594
1596
|
});
|
|
1595
1597
|
}
|
|
1596
1598
|
});
|
|
1597
|
-
if (this.data.filterableOptions
|
|
1599
|
+
if (this.data.filterableOptions &&
|
|
1600
|
+
Array.isArray(this.data.filterableOptions)) {
|
|
1598
1601
|
this.data.filterableOptions.forEach((option) => this.dropdownItems.push({ ...option, arrange: 'equals' }));
|
|
1599
1602
|
}
|
|
1600
1603
|
}
|