2018-10-15 09:36:19 -04:00
|
|
|
import DirtySubmitForm from './dirty_submit_form';
|
|
|
|
|
|
|
|
class DirtySubmitCollection {
|
|
|
|
constructor(forms) {
|
|
|
|
this.forms = forms;
|
|
|
|
|
|
|
|
this.dirtySubmits = [];
|
|
|
|
|
2020-12-23 16:10:24 -05:00
|
|
|
this.forms.forEach((form) => this.dirtySubmits.push(new DirtySubmitForm(form)));
|
2018-10-15 09:36:19 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default DirtySubmitCollection;
|