mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-20 11:48:31 -06:00
Fix treeview state saving after reset.
This commit is contained in:
parent
255afe673a
commit
554455fa75
@ -69,7 +69,7 @@ _.extend(pgBrowser.browserTreeState, {
|
||||
this.remove_from_cache, this);
|
||||
pgBrowser.Events.on('pgadmin:browser:tree:update-tree-state',
|
||||
this.update_cache, this);
|
||||
} else {
|
||||
} else if (!_.isUndefined(save_tree_state_period)) {
|
||||
$.ajax({
|
||||
url: url_for('settings.reset_tree_state'),
|
||||
type: 'DELETE',
|
||||
|
Loading…
Reference in New Issue
Block a user