- add titles and abstracts in edit form
This commit is contained in:
parent
fef6dea98d
commit
f6442b5f7a
11 changed files with 344 additions and 152 deletions
|
@ -131,6 +131,16 @@ export default class Dataset extends Vue {
|
|||
onLanguageChanged(val) {
|
||||
this.title_main.language = val;
|
||||
this.abstract_main.language = val;
|
||||
for (let [key, title] of Object.entries(this.titles)) {
|
||||
if (title.type == "Main") {
|
||||
title.language = val;
|
||||
}
|
||||
}
|
||||
for (let [key, abstract] of Object.entries(this.abstracts)) {
|
||||
if (abstract.type == "Abstract") {
|
||||
abstract.language = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue