React 18 and Vite (#4510)
This commit is contained in:
parent
1bb1b13f6d
commit
21613fa602
244 changed files with 4547 additions and 8933 deletions
|
@ -60,7 +60,7 @@ const subusers: ServerSubuserStore = {
|
|||
let matched = false;
|
||||
state.data = [
|
||||
...state.data
|
||||
.map((user) => {
|
||||
.map(user => {
|
||||
if (user.uuid === payload.uuid) {
|
||||
matched = true;
|
||||
|
||||
|
@ -74,7 +74,7 @@ const subusers: ServerSubuserStore = {
|
|||
}),
|
||||
|
||||
removeSubuser: action((state, payload) => {
|
||||
state.data = [...state.data.filter((user) => user.uuid !== payload)];
|
||||
state.data = [...state.data.filter(user => user.uuid !== payload)];
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue