Fix undefined hash in validate addon

pull/19226/head
wenincode 1 year ago committed by Chris Hut
parent 4576fbee1e
commit 07584faa58

@ -103,10 +103,10 @@ export default class ValidateModifier extends Modifier {
dispatch: (state) => {
switch (state) {
case 'ERROR':
_hash.onchange(this.hash.chart.state.context.errors);
this.hash.onchange(this.hash.chart.state.context.errors);
break;
case 'RESET':
_hash.onchange();
this.hash.onchange();
break;
}
},

Loading…
Cancel
Save