mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Implement basic code for creating/updating a subuser
This commit is contained in:
@@ -39,7 +39,7 @@ const subusers: ServerSubuserStore = {
|
||||
}),
|
||||
|
||||
appendSubuser: action((state, payload) => {
|
||||
state.data = [ ...state.data, payload ];
|
||||
state.data = [ ...state.data.filter(user => user.uuid !== payload.uuid), payload ];
|
||||
}),
|
||||
|
||||
getSubusers: thunk(async (actions, payload) => {
|
||||
|
||||
Reference in New Issue
Block a user