mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed failed to fetch utility error when click on refresh(any option) materialized view. Fixes #5447
It's a regression of #5213
This commit is contained in:
parent
6d1f67f3be
commit
88aebb64f9
@ -93,3 +93,4 @@ Bug fixes
|
|||||||
| `Issue #5432 <https://redmine.postgresql.org/issues/5432>`_ - Fixed an issue where an internal user is not created if the authentication source is set to internal and ldap.
|
| `Issue #5432 <https://redmine.postgresql.org/issues/5432>`_ - Fixed an issue where an internal user is not created if the authentication source is set to internal and ldap.
|
||||||
| `Issue #5439 <https://redmine.postgresql.org/issues/5439>`_ - Fixed an issue where the user is not able to create a server if login with an LDAP account.
|
| `Issue #5439 <https://redmine.postgresql.org/issues/5439>`_ - Fixed an issue where the user is not able to create a server if login with an LDAP account.
|
||||||
| `Issue #5441 <https://redmine.postgresql.org/issues/5441>`_ - Fixed an issue where the search object not able to locate pg_toast_* tables in the pg_toast schema.
|
| `Issue #5441 <https://redmine.postgresql.org/issues/5441>`_ - Fixed an issue where the search object not able to locate pg_toast_* tables in the pg_toast schema.
|
||||||
|
| `Issue #5447 <https://redmine.postgresql.org/issues/5447>`_ - Fixed failed to fetch utility error when click on refresh(any option) materialized view.
|
@ -281,15 +281,16 @@ define('pgadmin.node.mview', [
|
|||||||
if (!d)
|
if (!d)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
while (i) {
|
let j = i;
|
||||||
var node_data = pgBrowser.tree.itemData(i);
|
while (j) {
|
||||||
|
var node_data = pgBrowser.tree.itemData(j);
|
||||||
if (node_data._type == 'server') {
|
if (node_data._type == 'server') {
|
||||||
server_data = node_data;
|
server_data = node_data;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pgBrowser.tree.hasParent(i)) {
|
if (pgBrowser.tree.hasParent(j)) {
|
||||||
i = $(pgBrowser.tree.parent(i));
|
j = $(pgBrowser.tree.parent(j));
|
||||||
} else {
|
} else {
|
||||||
Alertify.alert(gettext('Please select server or child node from tree.'));
|
Alertify.alert(gettext('Please select server or child node from tree.'));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user