2018-12-13 13:39:08 +05:30
|
|
|
import DirtySubmitForm from './dirty_submit_form';
|
|
|
|
|
|
|
|
class DirtySubmitCollection {
|
|
|
|
constructor(forms) {
|
|
|
|
this.forms = forms;
|
|
|
|
|
|
|
|
this.dirtySubmits = [];
|
|
|
|
|
2021-03-08 18:12:59 +05:30
|
|
|
this.forms.forEach((form) => this.dirtySubmits.push(new DirtySubmitForm(form)));
|
2018-12-13 13:39:08 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default DirtySubmitCollection;
|