mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Resolved an issue in the sesion tracking, and generating the data
properly. Also, takes care of setting options to empty array, when it couldn't fetch the options for the NodeAjaxOptionsControl. And, generating proper url for 'msql' url in the SQL tab, when creating new node from the same type of node.
This commit is contained in:
@@ -73,7 +73,9 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) {
|
||||
}
|
||||
// To fetch only options from cache, we do not need time from 'at'
|
||||
// attribute but only options.
|
||||
data = data.data;
|
||||
//
|
||||
// It is feasible that the data may not have been fetched.
|
||||
data = (data && data.data) || [];
|
||||
|
||||
/*
|
||||
* Transform the data
|
||||
|
||||
Reference in New Issue
Block a user