diff --git a/stores/tables/insurance/index.ts b/stores/tables/insurance/index.ts index c88ee7b..afd5704 100644 --- a/stores/tables/insurance/index.ts +++ b/stores/tables/insurance/index.ts @@ -76,4 +76,11 @@ export default class InsuranceTable { mergeWith(this.statuses[rowIndex], rowStatuses); } }; + + reset = () => { + this.values = insuranceTableConfig.defaultValues; + this.options = insuranceTableConfig.defaultOptions; + this.statuses = insuranceTableConfig.defaultStatuses; + this.validation.clearErrors(); + }; }