[bug] #148 interchangeable generator not working

This commit is contained in:
Andrea Vos 2020-12-22 10:01:39 +01:00
parent 1ee5f5128f
commit 7975d79ed5

View File

@ -229,7 +229,7 @@
selectedMorpheme: '',
customiseMultiple: false,
multiple: ['on', 'ona'],
multiple: this.config.pronouns.multiple.examples[0].split('&'),
customise: false,
@ -284,8 +284,8 @@
methods: {
toggleMultiple(name) {
const index = this.multiple.indexOf(name);
if (homepage > -1) {
this.multiple.splice(homepage, 1);
if (index > -1) {
this.multiple.splice(index, 1);
} else {
this.multiple.push(name);
}