@apia/api 4.0.85 → 4.0.89
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/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -4746,7 +4746,9 @@ class QueryModalController {
|
|
|
4746
4746
|
...properties
|
|
4747
4747
|
});
|
|
4748
4748
|
if (this.queryController.structure?.openFiltersAutomatically) {
|
|
4749
|
-
this.
|
|
4749
|
+
this.queryController.tableController.updateState({
|
|
4750
|
+
props: { showFilters: true }
|
|
4751
|
+
});
|
|
4750
4752
|
}
|
|
4751
4753
|
return this.onConfirmResolve();
|
|
4752
4754
|
}
|
|
@@ -4754,7 +4756,16 @@ class QueryModalController {
|
|
|
4754
4756
|
return this.modalHandler;
|
|
4755
4757
|
}
|
|
4756
4758
|
onConfirm() {
|
|
4757
|
-
this.
|
|
4759
|
+
if (this.queryController.tableController.state.rows.length === 1) {
|
|
4760
|
+
this.emitter.emit("onSelectRows", [
|
|
4761
|
+
{
|
|
4762
|
+
row: this.queryController.tableController.state.rows[0],
|
|
4763
|
+
index: 0
|
|
4764
|
+
}
|
|
4765
|
+
]);
|
|
4766
|
+
} else {
|
|
4767
|
+
this.emitter.emit("onSelectRows", this.currentSelection || []);
|
|
4768
|
+
}
|
|
4758
4769
|
}
|
|
4759
4770
|
onConfirmResolve() {
|
|
4760
4771
|
return new Promise((resolve) => {
|