Fixed an issue where the User Management dialog is not opening. Fixes #7173

This commit is contained in:
Akshay Joshi 2022-02-14 15:17:48 +05:30
parent e90b3dad01
commit 1cdbb9a643
2 changed files with 3 additions and 1 deletions

View File

@ -20,3 +20,4 @@ Bug fixes
*********
| `Issue #7124 <https://redmine.postgresql.org/issues/7124>`_ - Fixed the schema diff issue where tables have different column positions and a column has a default value.
| `Issue #7173 <https://redmine.postgresql.org/issues/7173>`_ - Fixed an issue where the User Management dialog is not opening.

View File

@ -202,7 +202,8 @@ define([
// Callback to draw User Management Dialog.
show_users: function() {
if (!userInfo['is_admin']) return;
var Roles = [],
var self = this,
Roles = [],
Sources = [];
var UserModel = pgBrowser.Node.Model.extend({