store/tables/payments: add reset method
This commit is contained in:
parent
b418d31c99
commit
2af0417ea3
@ -59,4 +59,10 @@ export default class PaymentsTable {
|
||||
this.setValues(values);
|
||||
this.setStatuses(statuses);
|
||||
};
|
||||
|
||||
reset = () => {
|
||||
this.values.clear();
|
||||
this.statuses.clear();
|
||||
this.validation.clearErrors();
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user