Skip to content

Commit

Permalink
Fix: Error when trying to display combined parent location's data if …
Browse files Browse the repository at this point in the history
…there is none

Closes #307
  • Loading branch information
bkis committed Aug 13, 2024
1 parent de0f37c commit 611cde1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ async function handleClick() {
/>
</div>
<span v-else>{{ $t('errors.unexpected') }}</span>
<span v-else class="translucent">
{{ $t('browse.contents.widgets.siblingsWidget.noSiblings') }}
</span>
<button-shelf top-gap>
<n-button type="primary" @click="() => (showModal = false)">
Expand Down
1 change: 1 addition & 0 deletions Tekst-Web/translations/ui/deDE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ browse:
title: Ausblenden
siblingsWidget:
title: Inhalt übergeordneter Belegstelle
noSiblings: Es existieren keine Inhalte für untergeordnete Belegstellen.
exportWidget:
title: Export
format: Format
Expand Down
1 change: 1 addition & 0 deletions Tekst-Web/translations/ui/enUS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ browse:
title: Hide
siblingsWidget:
title: Parent location's content
noSiblings: There are no contents for subordinate locations.
exportWidget:
title: Export
format: Format
Expand Down

0 comments on commit 611cde1

Please sign in to comment.