Skip to content

Commit

Permalink
fix(gui): fixed an issue that caused number comparisons in device fil…
Browse files Browse the repository at this point in the history
…ters to not work

Ticket: MEN-7717
Changelog: Title
Signed-off-by: Manuel Zedel <manuel.zedel@northern.tech>
  • Loading branch information
mzedel committed Nov 29, 2024
1 parent 670a884 commit 84e2398
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/js/store/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ import {

// for some reason these functions can not be stored in the deviceConstants...
const filterProcessors = {
$gt: val => Number(val) || val,
$gte: val => Number(val) || val,
$lt: val => Number(val) || val,
$lte: val => Number(val) || val,
$in: val => ('' + val).split(',').map(i => i.trim()),
$nin: val => ('' + val).split(',').map(i => i.trim()),
$exists: yes,
Expand Down

0 comments on commit 84e2398

Please sign in to comment.