diff --git a/stores/tables/payments/index.ts b/stores/tables/payments/index.ts index 891b6dc..51c7edd 100644 --- a/stores/tables/payments/index.ts +++ b/stores/tables/payments/index.ts @@ -59,4 +59,10 @@ export default class PaymentsTable { this.setValues(values); this.setStatuses(statuses); }; + + reset = () => { + this.values.clear(); + this.statuses.clear(); + this.validation.clearErrors(); + }; }