05444 save content of form in browser storage if not submitted (#26)
* Save content of form in browser storage if not submitted * Rename key form + fix tests
This commit is contained in:
@@ -191,6 +191,9 @@ export default {
|
||||
workspace_id: this.form.workspace_id,
|
||||
form_id: this.form.id
|
||||
})
|
||||
|
||||
window.localStorage.removeItem(this.form.form_pending_submission_Key)
|
||||
|
||||
if (response.data.redirect && response.data.redirect_url) {
|
||||
window.location.href = response.data.redirect_url
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user