diff options
| -rw-r--r-- | resources/vue/components/questionnaires/InputArray.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/vue/components/questionnaires/InputArray.vue b/resources/vue/components/questionnaires/InputArray.vue index e1657a0..2418e2e 100644 --- a/resources/vue/components/questionnaires/InputArray.vue +++ b/resources/vue/components/questionnaires/InputArray.vue @@ -113,7 +113,7 @@ export default { deleteOption(index) { const question = this.options[index] ? this.$gettext('Wirklich löschen?') : true; STUDIP.Dialog.confirm(question).done(() => { - this.options[index].splice(index, 1); + this.options.splice(index, 1); }); }, onPaste(ev, position) { |
