@stoker-platform/web-app 0.5.49 → 0.5.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.5.50
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: prevent clearing relation list filter
8
+
3
9
  ## 0.5.49
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.5.49",
3
+ "version": "0.5.50",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "scripts": {
package/src/Filters.tsx CHANGED
@@ -727,6 +727,7 @@ export function Filters({ collection, excluded, relationList }: FiltersProps) {
727
727
  }
728
728
  filters.forEach((filter) => {
729
729
  if (filter.type === "status" || filter.type === "range") return
730
+ if (relationList && relationList.field === filter.field) return
730
731
  const field = getField(fields, filter.field)
731
732
  if (!field) return
732
733
  if (filter.type === "select") {