Bug 38201: Prevent 'no resources' message showing in relationshipWidget if resources do exist

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Matt Blenkinsop 2025-06-26 17:03:34 +01:00 committed by Lucas Gass
parent 7d5bd4b9ae
commit c24c5a8be9
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
><font-awesome-icon icon="plus" />
{{ $__("Add new %s").format(relationshipStrings.nameLowerCase) }}</a
>
<span v-else>{{
<span v-else-if="resourceRelationshipCount === 0">{{
$__("There are no %s created yet").format(
relationshipStrings.namePlural
)