mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Fix filter bug (#5124)
This commit is contained in:
@@ -137,9 +137,12 @@ export const usersMachine =
|
||||
id: "usersState",
|
||||
on: {
|
||||
UPDATE_FILTER: {
|
||||
target: ".gettingUsers",
|
||||
actions: ["assignFilter", "sendResetPage"],
|
||||
},
|
||||
UPDATE_PAGE: {
|
||||
target: "gettingUsers",
|
||||
actions: "updateURL",
|
||||
},
|
||||
},
|
||||
initial: "startingPagination",
|
||||
states: {
|
||||
@@ -199,14 +202,6 @@ export const usersMachine =
|
||||
target: "updatingUserRoles",
|
||||
actions: "assignUserIdToUpdateRoles",
|
||||
},
|
||||
UPDATE_PAGE: {
|
||||
target: "gettingUsers",
|
||||
actions: "updateURL",
|
||||
},
|
||||
UPDATE_FILTER: {
|
||||
target: "gettingUsers",
|
||||
actions: ["assignFilter", "sendResetPage"],
|
||||
},
|
||||
},
|
||||
},
|
||||
confirmUserSuspension: {
|
||||
|
||||
Reference in New Issue
Block a user