From c7e7f47d5665cfd68850b9ca80613a86e5ce28ab Mon Sep 17 00:00:00 2001 From: Ron Lucke <lucke@elan-ev.de> Date: Thu, 13 Jul 2023 07:23:32 +0000 Subject: [PATCH] fix #700 Closes #700 Merge request studip/studip!1877 --- resources/vue/components/courseware/CoursewareTab.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/vue/components/courseware/CoursewareTab.vue b/resources/vue/components/courseware/CoursewareTab.vue index 6be50af897e..191f552f9d9 100644 --- a/resources/vue/components/courseware/CoursewareTab.vue +++ b/resources/vue/components/courseware/CoursewareTab.vue @@ -27,11 +27,11 @@ export default { }, computed: { selectorId() { - return '#' +this.index + '-' + this.name.toLowerCase().replace(/ /g, '-'); + return '#' + this._uid + '-' + this.name.toLowerCase().replace(/ /g, '-'); }, id() { - return this.index + '-' + this.name.toLowerCase().replace(/ /g, '-') + '-tabpanel'; - }, + return this._uid + '-' + this.name.toLowerCase().replace(/ /g, '-') + '-tabpanel'; + } }, mounted() { this.isActive = this.selected; -- GitLab