Changed condition

This commit is contained in:
Ludovic PETRENKO 2019-03-24 18:51:04 -07:00
parent 848dd8bd3e
commit 6ac84d4fbd

View file

@ -90,11 +90,12 @@ export default class EventEmitter{
* @param args * @param args
*/ */
dispatchStore(event, args){ dispatchStore(event, args){
if(!this.store){ if(this.store){
return
}
this.dispatchModule('', this.store._modules.root, event, args) this.dispatchModule('', this.store._modules.root, event, args)
}
} }
dispatchModule(path, mod, event, args){ dispatchModule(path, mod, event, args){