Bug 40774: Fix EBSCO's package list view

TypeError: can't access property "authorised_values", e.type is undefined
Signed-off-by: Christian Nelson <christian.nelson@uwasa.fi>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit af8efd85ec)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-09-09 13:53:28 +02:00 committed by Paul Derscheid
parent ba8d8ea3bc
commit 8d65984568
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@
{{ $__("Content type") }}:
<select id="content_type_filter" v-model="filters.content_type">
<option value="">{{ $__("All") }}</option>
<option :key="type.authorised_values" :value="type.value">
<option
v-for="type in authorisedValues.av_package_content_types"
:key="type.value"
:value="type.value"
>
{{ type.description }}
</option>
</select>