removes unused users field in backend store

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-22 10:14:17 +01:00
parent 4b3891f68a
commit 2ddb2e3fbb
1 changed files with 0 additions and 9 deletions

View File

@ -6,7 +6,6 @@ import { permissions } from './backend/permissions'
const INITIAL_BACKEND_UI_STATE = {
tables: [],
views: [],
users: [],
roles: [],
datasources: [],
queries: [],
@ -302,14 +301,6 @@ export const getBackendUiStore = () => {
})
},
},
users: {
create: user =>
store.update(state => {
state.users.push(user)
state.users = state.users
return state
}),
},
roles: {
fetch: async () => {
const response = await api.get("/api/roles")