Skip to content

Commit

Permalink
use latest studip-select, refs elan-ev#546
Browse files Browse the repository at this point in the history
  • Loading branch information
ferishili committed Feb 9, 2022
1 parent 766f28c commit ab5e31e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/courseware-plugin-opencast-video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@
<form class="default" @submit.prevent="">
<label>
<translate>Serie auswählen</translate>
<courseware-vue-select
<studip-select
:options="series"
:reduce="series => series.series_id"
:clearable="false"
v-model="currentSeries"
class="cw-vs-select"
append-to-body
>
<template #open-indicator="selectAttributes">
<span v-bind="selectAttributes"><studip-icon shape="arr_1down" size="10"/></span>
Expand All @@ -55,19 +54,18 @@
<template #option="{name}">
<span>{{name}}</span>
</template>
</courseware-vue-select>
</studip-select>
</label>

<label v-if="currentSeries">
<translate>Video auswählen</translate>
<courseware-vue-select
<studip-select
:options="episodes"
label="episode"
:reduce="episodes => episodes.id"
:clearable="false"
v-model="currentEpisode"
class="cw-vs-select"
append-to-body
>
<template #open-indicator="selectAttributes">
<span v-bind="selectAttributes"><studip-icon shape="arr_1down" size="10"/></span>
Expand All @@ -90,7 +88,7 @@
</translate>
</span>
</template>
</courseware-vue-select>
</studip-select>
</label>
</form>
</template>
Expand Down

0 comments on commit ab5e31e

Please sign in to comment.