aboutsummaryrefslogtreecommitdiff
path: root/modern/src/store/devices.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/store/devices.js')
-rw-r--r--modern/src/store/devices.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/modern/src/store/devices.js b/modern/src/store/devices.js
index cfe8f162..52a002dc 100644
--- a/modern/src/store/devices.js
+++ b/modern/src/store/devices.js
@@ -21,14 +21,6 @@ const { reducer, actions } = createSlice({
remove(state, action) {
delete state.items[action.payload];
},
- filterByName(state, action) {
- return {
- ...state,
- filteredItems: action.payload
- ? Object.values(state.items).filter((item) => item.name?.toLowerCase().includes(action.payload?.toLowerCase()))
- : state.items,
- };
- },
},
});