Skip to content
Snippets Groups Projects
Verified Commit a2c95142 authored by Kotyba Alhaj Taha's avatar Kotyba Alhaj Taha
Browse files

change error massage to singular

parent 7f4cec37
No related branches found
No related tags found
2 merge requests!92Feature restructure frontend platforms,!82Restructure frontend
......@@ -145,7 +145,7 @@ export default class AttachmentAddPage extends mixins(Rules) {
this.$router.push('/devices/' + this.deviceId + '/attachments')
}).catch(() => {
this.$emit('showsave', false)
this.$store.commit('snackbar/setError', 'Failed to save attachments')
this.$store.commit('snackbar/setError', 'Failed to save an attachment')
})
}
......
......@@ -148,7 +148,7 @@ export default class AttachmentAddPage extends mixins(Rules) {
this.$router.push('/platforms/' + this.platformId + '/attachments')
}).catch(() => {
this.$emit('showsave', false)
this.$store.commit('snackbar/setError', 'Failed to save attachments')
this.$store.commit('snackbar/setError', 'Failed to save an attachment.')
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment