Remove unused loadLibraryFilterData func

This commit is contained in:
advplyr 2024-07-30 16:49:02 -05:00
parent 006241163b
commit 34cb7a4d02

View File

@ -166,22 +166,6 @@ export const actions = {
commit('set', [])
})
return true
},
loadLibraryFilterData({ state, commit, rootState }) {
if (!rootState.user || !rootState.user.user) {
console.error('libraries/loadLibraryFilterData - User not set')
return false
}
this.$axios
.$get(`/api/libraries/${state.currentLibraryId}/filterdata`)
.then((data) => {
commit('setLibraryFilterData', data)
})
.catch((error) => {
console.error('Failed', error)
commit('setLibraryFilterData', null)
})
}
}