mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-18 00:44:45 -05:00
Fixed an issue where Execute/Refresh button should not be disabled when we run the empty query. Fixes #6489
This commit is contained in:
committed by
Akshay Joshi
parent
09d8d0f362
commit
a533620684
@@ -11,6 +11,7 @@ notes for it.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
|
release_notes_5_5
|
||||||
release_notes_5_4
|
release_notes_5_4
|
||||||
release_notes_5_3
|
release_notes_5_3
|
||||||
release_notes_5_2
|
release_notes_5_2
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
************
|
||||||
|
Version 5.5
|
||||||
|
************
|
||||||
|
|
||||||
|
Release date: 2021-07-15
|
||||||
|
|
||||||
|
This release contains a number of bug fixes and new features since the release of pgAdmin4 5.4.
|
||||||
|
|
||||||
|
New features
|
||||||
|
************
|
||||||
|
|
||||||
|
|
||||||
|
Housekeeping
|
||||||
|
************
|
||||||
|
|
||||||
|
|
||||||
|
Bug fixes
|
||||||
|
*********
|
||||||
|
|
||||||
|
| `Issue #6489 <https://redmine.postgresql.org/issues/6489>`_ - Fixed an issue where Execute/Refresh button should not be disabled when we run the empty query.
|
||||||
@@ -56,7 +56,11 @@ class ExecuteQuery {
|
|||||||
|
|
||||||
execute(sqlStatement, explainPlan, connect) {
|
execute(sqlStatement, explainPlan, connect) {
|
||||||
// If it is an empty query, do nothing.
|
// If it is an empty query, do nothing.
|
||||||
if (sqlStatement.length <= 0) return;
|
if (sqlStatement.length <= 0) {
|
||||||
|
// Enable query execution button if user execute empty query.
|
||||||
|
$('#btn-flash').prop('disabled', false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const self = this;
|
const self = this;
|
||||||
self.explainPlan = explainPlan;
|
self.explainPlan = explainPlan;
|
||||||
|
|||||||
Reference in New Issue
Block a user