mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06: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:
parent
09d8d0f362
commit
a533620684
@ -11,6 +11,7 @@ notes for it.
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
release_notes_5_5
|
||||
release_notes_5_4
|
||||
release_notes_5_3
|
||||
release_notes_5_2
|
||||
|
20
docs/en_US/release_notes_5_5.rst
Normal file
20
docs/en_US/release_notes_5_5.rst
Normal file
@ -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) {
|
||||
// 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;
|
||||
self.explainPlan = explainPlan;
|
||||
|
Loading…
Reference in New Issue
Block a user