@apia/api 4.0.87 → 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 +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -4756,7 +4756,16 @@ class QueryModalController {
|
|
|
4756
4756
|
return this.modalHandler;
|
|
4757
4757
|
}
|
|
4758
4758
|
onConfirm() {
|
|
4759
|
-
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
|
+
}
|
|
4760
4769
|
}
|
|
4761
4770
|
onConfirmResolve() {
|
|
4762
4771
|
return new Promise((resolve) => {
|