@phoenix-cg/v-filters 0.2.0-beta.6 → 0.2.0-beta.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phoenix-cg/v-filters",
3
- "version": "0.2.0-beta.6",
3
+ "version": "0.2.0-beta.7",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -204,8 +204,8 @@ export default {
204
204
  value = field.data[0]
205
205
  }
206
206
  } else {
207
- value = value.reduce((acc, currentValue) => {
208
- const isValueInData = value.data.some(dataValue => dataValue._id === currentValue._id || dataValue._id === currentValue)
207
+ value = field.value.reduce((acc, currentValue) => {
208
+ const isValueInData = field.data.some(dataValue => dataValue._id === currentValue._id || dataValue._id === currentValue)
209
209
  if (isValueInData) {
210
210
  acc.push(currentValue)
211
211
  }