fixed article graphql refactoring, continued to improve graphql for materials
This commit is contained in:
@ -67,9 +67,9 @@ export default {
|
||||
commit('setInfiniteState', $infiniteLoadingstate)
|
||||
dispatch('getItems')
|
||||
},
|
||||
getItemIndex ({ dispatch, commit, state }, uuid) {
|
||||
getItemIndex ({ dispatch, commit, state }, nid) {
|
||||
return state.items.findIndex((e) => {
|
||||
return e.uuid == uuid
|
||||
return e.nid == nid
|
||||
})
|
||||
},
|
||||
getPrevNextItems ({ dispatch, commit, state }, index) {
|
||||
|
Reference in New Issue
Block a user