From 34cb7a4d021bc44cd7993dcc6c65b2e864d40527 Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 30 Jul 2024 16:49:02 -0500 Subject: [PATCH] Remove unused loadLibraryFilterData func --- client/store/libraries.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/client/store/libraries.js b/client/store/libraries.js index f56bdad6..b92800ba 100644 --- a/client/store/libraries.js +++ b/client/store/libraries.js @@ -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) - }) } }