diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-13 22:46:41 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-13 22:46:41 -0600 |
commit | 90cc5be085b9716347e619929782398803d77c9a (patch) | |
tree | 6f9bfd1dfe95425e126d55b727aa6de2cd0b52bc /modern/src/common | |
parent | ef46ac4ed003781c19ceda22998160e6dd06a6bb (diff) | |
download | etbsa-traccar-web-90cc5be085b9716347e619929782398803d77c9a.tar.gz etbsa-traccar-web-90cc5be085b9716347e619929782398803d77c9a.tar.bz2 etbsa-traccar-web-90cc5be085b9716347e619929782398803d77c9a.zip |
Made improvements to search and other things
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/selectors.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modern/src/common/selectors.js b/modern/src/common/selectors.js index e52943c..ad42c30 100644 --- a/modern/src/common/selectors.js +++ b/modern/src/common/selectors.js @@ -6,4 +6,6 @@ export const getDevices = (state) => Object.values(state.devices.items); export const getFilteredDevices = (state) => Object.values(state.devices.filteredItems); -export const getPosition = (id) => (state) => state.positions.items[id];
\ No newline at end of file +export const getFilterTerm = (state) => state.devices.filterTerm; + +export const getPosition = (id) => (state) => state.positions.items[id]; |