Fix Error-Messages
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
parent
ee86658c4e
commit
2e32465d2b
|
@ -161,14 +161,14 @@ export default {
|
||||||
this.submissions.splice(index, 1)
|
this.submissions.splice(index, 1)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
showError(t('forms', 'There was an error while removing the submission'))
|
showError(t('forms', 'There was an error while removing this response'))
|
||||||
} finally {
|
} finally {
|
||||||
this.loadingResults = false
|
this.loadingResults = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async deleteAllSubmissions() {
|
async deleteAllSubmissions() {
|
||||||
if (!confirm(t('forms', 'Are you sure you want to delete all submissions from this form?'))) {
|
if (!confirm(t('forms', 'Are you sure you want to delete all responses of this form?'))) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ export default {
|
||||||
this.submissions = []
|
this.submissions = []
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
showError(t('forms', 'There was an error while removing the submissions'))
|
showError(t('forms', 'There was an error while removing responses'))
|
||||||
} finally {
|
} finally {
|
||||||
this.loadingResults = false
|
this.loadingResults = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue