update backend object mapping
This commit is contained in:
parent
77de24409f
commit
9ff2739d3b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ const store = new Vuex.Store({
|
|||
router.push({path: `/${slug}/${view}`});
|
||||
},
|
||||
replaceLoadedItems(state, newItems) {
|
||||
state.loadedItems = newItems.map(e => ({...e, description: e.bezeichnung, box: e.container, uid: e.item_uid}));
|
||||
state.loadedItems = newItems.map(e => ({...e, uid: e.item_uid}));
|
||||
},
|
||||
setLayout(state, layout) {
|
||||
state.layout = layout;
|
||||
|
|
Loading…
Reference in a new issue