Skip to content

Commit

Permalink
fix: updating the test role page without reload
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoBeeAkto committed Nov 22, 2024
1 parent 5f63268 commit 0535d16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function TestRoleSettings() {
func.setToast(true, true, "Please select valid values for a test role")
} else {
if (isNew) {
api.addTestRoles(roleName, andConditions, orConditions).then((res) => {
await api.addTestRoles(roleName, andConditions, orConditions).then((res) => {
func.setToast(true, false, "Test role added")
setChange(false);
navigate(null, { state: { name: roleName, endpoints: { andConditions: andConditions, orConditions: orConditions } },
Expand Down

0 comments on commit 0535d16

Please sign in to comment.