feat: reset form after save on collection page
This commit is contained in:
parent
527e047e68
commit
38e27f1172
@ -295,9 +295,9 @@ $roleConfig = $config['phlebo'];
|
|||||||
|
|
||||||
const totalChanged = samplesToCollect.length + samplesToUncollect.length;
|
const totalChanged = samplesToCollect.length + samplesToUncollect.length;
|
||||||
this.showToast(`Updated ${totalChanged} sample(s)`, 'success');
|
this.showToast(`Updated ${totalChanged} sample(s)`, 'success');
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.fetchPatientData();
|
this.resetForm();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error:', error);
|
console.error('Error:', error);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user