mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
console: reset permission editor after creating new role
GITHUB_PR_NUMBER: 5833 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5833 Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com> GitOrigin-RevId: 8504c95c5d8fcae41a00b2afb391b99fa594b1e0
This commit is contained in:
parent
84d55cf771
commit
bf8a22083e
@ -446,9 +446,9 @@ class Permissions extends Component {
|
||||
});
|
||||
|
||||
const dispatchRoleNameChange = e => {
|
||||
const role = e.target.value;
|
||||
|
||||
dispatch(permSetRoleName(role));
|
||||
const newRole = e.target.value;
|
||||
dispatch(permOpenEdit(tableSchema, newRole, permissionsState.query));
|
||||
dispatch(permSetRoleName(newRole));
|
||||
};
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user