mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed some SonarQube issues.
This commit is contained in:
committed by
Akshay Joshi
parent
af1e9210b9
commit
71a4b20d90
@@ -386,7 +386,7 @@ UserManagementDialog.propTypes = {
|
||||
onClose: PropTypes.func
|
||||
};
|
||||
|
||||
export default function showUserManagement() {
|
||||
export function showUserManagement() {
|
||||
pgAdmin.Browser.Node.registerUtilityPanel();
|
||||
let panel = pgAdmin.Browser.Node.addUtilityPanel(980, pgAdmin.Browser.stdH.md),
|
||||
j = panel.$container.find('.obj_properties').first();
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
import pgAdmin from 'sources/pgadmin';
|
||||
import gettext from 'sources/gettext';
|
||||
import { showUrlDialog } from '../../../../static/js/Dialogs/index';
|
||||
import showUserManagement from './UserManagementDialog';
|
||||
import { showUserManagement } from './UserManagementDialog';
|
||||
|
||||
|
||||
class UserManagement {
|
||||
@@ -49,4 +49,4 @@ pgAdmin.UserManagement = UserManagement.getInstance();
|
||||
|
||||
module.exports = {
|
||||
UserManagement: UserManagement,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user