diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-07-16 11:13:03 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-07-16 11:13:03 +0200 |
| commit | 18b2fec6e62c1c31fd58bb9b4c94b9d1b6a264cf (patch) | |
| tree | c5720fd8f538babf43f20d6e7616a0b2d23ac23a | |
| parent | 3cc68c76d26e56bdb1bb59ada2c7490208a79ccf (diff) | |
use correct variable to splice index from, fixes #5713
Closes #5713
Merge request studip/studip!4340
| -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) { |
