mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the following issues for the new query tool:
1) Failed to fetch query history error sometimes. 2) In copy paste row, if a copied row has [null], then those are pasted as an empty string. 3) When Data output is empty, show an empty grid. 4) Schema diff generates a script button resulting in an empty window. Fixes #7306. 5) Detach the DataOutput panel > Try editing text cell > Text editor is hidden behind the data output panel refs #6131
This commit is contained in:
committed by
Akshay Joshi
parent
c5ca394cec
commit
25b89f7624
@@ -111,7 +111,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
|
||||
const modal = useModal();
|
||||
|
||||
/* Connection status poller */
|
||||
let pollTime = qtState.preferences.sqleditor.connection_status_fetch_time > 0 ?
|
||||
let pollTime = qtState.preferences.sqleditor.connection_status_fetch_time > 0 && !qtState.obtaining_conn ?
|
||||
qtState.preferences.sqleditor.connection_status_fetch_time*1000 : -1;
|
||||
/* No need to poll when the query is executing. Query poller will the txn status */
|
||||
if(qtState.connection_status === CONNECTION_STATUS.TRANSACTION_STATUS_ACTIVE && qtState.connected) {
|
||||
|
||||
Reference in New Issue
Block a user