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 { ...@@ -63,8 +63,11 @@ export default {
identifierService.findOne(this.identifier.id, accept) identifierService.findOne(this.identifier.id, accept)
.then((citation) => { .then((citation) => {
this.citation = citation this.citation = citation
this.loading = false
}) })
.finally(() => { .error(({code, message}) => {
const toast = useToastInstance()
toast.error(this.$t(`${code}: ${message}`))
this.loading = false this.loading = false
}) })
} }
......
...@@ -35,6 +35,9 @@ ...@@ -35,6 +35,9 @@
"pages": { "pages": {
"identifier": { "identifier": {
"title": "Identifier", "title": "Identifier",
"export": {
"text": "Metadata Export"
},
"pid": { "pid": {
"title": "Persistent Identifier" "title": "Persistent Identifier"
}, },
...@@ -1209,10 +1212,6 @@ ...@@ -1209,10 +1212,6 @@
"created": "Successfully created table", "created": "Successfully created table",
"semantics": "Successfully assigned semantic instance" "semantics": "Successfully assigned semantic instance"
}, },
"schema": {
"tables": "Successfully refreshed database tables metadata",
"views": "Successfully refreshed database views metadata"
},
"schema": { "schema": {
"tables": "Successfully refreshed database tables metadata.", "tables": "Successfully refreshed database tables metadata.",
"views": "Successfully refreshed database views 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