@wavemaker/app-ng-runtime 11.4.3-next.25764 → 11.4.3-next.25766
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.
- app-ng-runtime/components/data/table/bundles/index.umd.js +6 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/table/esm2015/table.component.js +7 -2
- app-ng-runtime/components/data/table/fesm2015/index.js +6 -1
- app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +2 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +3 -1
- app-ng-runtime/components/input/epoch/fesm2015/index.js +2 -0
- app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -1175,6 +1175,10 @@ class TableComponent extends StylableComponent {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
else {
|
|
1177
1177
|
this.resetPageNavigation();
|
|
1178
|
+
// If the dataset is undefined or empty or table is bound to static variable then set variableInflight to false inorder to update the status
|
|
1179
|
+
if (newVal === '' || newVal === undefined || _.get(this.datasource, 'category') === 'wm.Variable') {
|
|
1180
|
+
this.variableInflight = false;
|
|
1181
|
+
}
|
|
1178
1182
|
/*for run mode, disabling the loader and showing no data found message if dataset is not valid*/
|
|
1179
1183
|
if (!this.variableInflight) {
|
|
1180
1184
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
@@ -1319,7 +1323,8 @@ class TableComponent extends StylableComponent {
|
|
|
1319
1323
|
setGridData(serverData) {
|
|
1320
1324
|
const data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
1321
1325
|
// fix for [WMS-24012] set variableinflight flag to false for static variables
|
|
1322
|
-
|
|
1326
|
+
// If the table is bound to some widget and not bound to any variable (ex: Table1.selectedItem) then set variableInflight to false
|
|
1327
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable' || _.get(this.datasource, 'category') === undefined) {
|
|
1323
1328
|
this.variableInflight = false;
|
|
1324
1329
|
}
|
|
1325
1330
|
if (!this.variableInflight) {
|