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

@@ -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({