removes unused users field in backend store

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-22 10:14:17 +01:00
parent 2767c21a90
commit 80065582eb
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 = { const INITIAL_BACKEND_UI_STATE = {
tables: [], tables: [],
views: [], views: [],
users: [],
roles: [], roles: [],
datasources: [], datasources: [],
queries: [], 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: { roles: {
fetch: async () => { fetch: async () => {
const response = await api.get("/api/roles") const response = await api.get("/api/roles")