We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b0db42 + c7c74fb commit 0c5f119Copy full SHA for 0c5f119
src/service-module/make-service-plugin.ts
@@ -111,7 +111,7 @@ export default function prepareMakeServicePlugin(
111
models: globalModels
112
})
113
if (affectsStore) {
114
- eventName = 'removed'
+ eventName === 'removed'
115
? store.commit(`${options.namespace}/removeItem`, item)
116
: store.dispatch(`${options.namespace}/${mutationName}`, item)
117
}
0 commit comments