Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit d53dc83

Browse files
committed
fix(vuex-middleware): analytics property check
1 parent d985839 commit d53dc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vuex-middleware.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import lib from './lib'
22

33
export default store => {
44
store.subscribe((mutation, state) => {
5-
if (!mutation.payload || !mutation.payload.meta) {
5+
if (!mutation.payload || !mutation.payload.meta || !mutation.payload.meta.analytics) {
66
return
77
}
88

0 commit comments

Comments
 (0)