mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Fixed an issue where an existing user is deleted and recreated again in the User Management dialog. Fixes #7618
2) Fixed preferences issue when changing themes. 3) Added validation for user names that already exist.
This commit is contained in:
@@ -131,8 +131,8 @@ export default function ModalProvider({ children }) {
|
||||
return (
|
||||
<ModalContext.Provider value={modalContext}>
|
||||
{children}
|
||||
{modals.map((modalOptions, i) => (
|
||||
<ModalContainer key={i} {...modalOptions} />
|
||||
{modals.map((modalOptions) => (
|
||||
<ModalContainer key={modalOptions.id} {...modalOptions} />
|
||||
))}
|
||||
</ModalContext.Provider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user