Skip to content
Snippets Groups Projects
Commit 8ae2f854 authored by Ron Lucke's avatar Ron Lucke Committed by Elmar Ludwig
Browse files

fix #3020

Closes #3020

Merge request studip/studip!2051
parent c6104bcc
No related branches found
No related tags found
No related merge requests found
...@@ -69,9 +69,9 @@ ...@@ -69,9 +69,9 @@
<studip-select <studip-select
v-if="filteredCourses.length !== 0 && !loadingCourses" v-if="filteredCourses.length !== 0 && !loadingCourses"
:options="filteredCourses" :options="filteredCourses"
label="title"
:clearable="false" :clearable="false"
:reduce="option => option.id" :reduce="option => option.id"
:getOptionLabel="option => option.attributes.title"
v-model="selectedRange" v-model="selectedRange"
> >
<template #open-indicator="selectAttributes"> <template #open-indicator="selectAttributes">
...@@ -79,15 +79,6 @@ ...@@ -79,15 +79,6 @@
><studip-icon shape="arr_1down" size="10" ><studip-icon shape="arr_1down" size="10"
/></span> /></span>
</template> </template>
<template #no-options="{}">
{{ $gettext('Es steht keine Auswahl zur Verfügung.') }}
</template>
<template #selected-option="{ attributes }">
<span>{{ attributes.title }}</span>
</template>
<template #option="{ attributes }">
<span>{{ attributes.title }}</span>
</template>
</studip-select> </studip-select>
<p v-if="loadingCourses"> <p v-if="loadingCourses">
{{$gettext('Lade Veranstaltungen…')}} {{$gettext('Lade Veranstaltungen…')}}
......
...@@ -68,9 +68,9 @@ ...@@ -68,9 +68,9 @@
<studip-select <studip-select
v-if="filteredCourses.length !== 0 && !loadingCourses" v-if="filteredCourses.length !== 0 && !loadingCourses"
:options="filteredCourses" :options="filteredCourses"
label="title"
:clearable="false" :clearable="false"
:reduce="option => option.id" :reduce="option => option.id"
:getOptionLabel="option => option.attributes.title"
v-model="selectedRange" v-model="selectedRange"
> >
<template #open-indicator="selectAttributes"> <template #open-indicator="selectAttributes">
...@@ -78,15 +78,6 @@ ...@@ -78,15 +78,6 @@
><studip-icon shape="arr_1down" :size="10" ><studip-icon shape="arr_1down" :size="10"
/></span> /></span>
</template> </template>
<template #no-options="{}">
{{ $gettext('Es steht keine Auswahl zur Verfügung.') }}
</template>
<template #selected-option="{ attributes }">
<span>{{ attributes.title }}</span>
</template>
<template #option="{ attributes }">
<span>{{ attributes.title }}</span>
</template>
</studip-select> </studip-select>
<p v-if="loadingCourses"> <p v-if="loadingCourses">
{{$gettext('Lade Veranstaltungen…')}} {{$gettext('Lade Veranstaltungen…')}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment