Skip to content
Snippets Groups Projects
Verified Commit 70d86142 authored by Martin Weise's avatar Martin Weise
Browse files

added more error messages

parent 7ce42d59
No related branches found
No related tags found
4 merge requests!296Dev,!293Dev,!289Dev,!287Dev
......@@ -63,8 +63,11 @@ export default {
identifierService.findOne(this.identifier.id, accept)
.then((citation) => {
this.citation = citation
this.loading = false
})
.finally(() => {
.error(({code, message}) => {
const toast = useToastInstance()
toast.error(this.$t(`${code}: ${message}`))
this.loading = false
})
}
......
......@@ -35,6 +35,9 @@
"pages": {
"identifier": {
"title": "Identifier",
"export": {
"text": "Metadata Export"
},
"pid": {
"title": "Persistent Identifier"
},
......@@ -1209,10 +1212,6 @@
"created": "Successfully created table",
"semantics": "Successfully assigned semantic instance"
},
"schema": {
"tables": "Successfully refreshed database tables metadata",
"views": "Successfully refreshed database views metadata"
},
"schema": {
"tables": "Successfully refreshed database tables metadata.",
"views": "Successfully refreshed database views metadata."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment