Skip to content

Multiple remove action is not updating vuex store after completion #443

Open
@MounirYounes

Description

@MounirYounes

Steps to reproduce

First enable multi:true in feathers. Then try to delete multiple records with a query param like so:

this.$store.dispatch('categories/remove',[null,{ query: { $or: [{ _id: EXAMPLE_ID }, { ancestors:EXAMPLE_ID }] } }])

In this example I am trying to delete every category and its subcategories.

Expected behavior

The categories should be deleted, and then the store data should be refreshed the same way a single category is deleted (instead of multi).

Actual behavior

Categories are deleted successfully but the result is not automatically updated in the vuex store.

###Notes
The multi remove action is not mentioned in the docs but was labelled as fixed in issue #71

System configuration

I am using "feathers-vuex": "^3.6.1",

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions