Skip to content

Commit

Permalink
Improve edge case where title is valid but title name is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Dec 13, 2024
1 parent c52390c commit d2d1591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ watch(() => state.ppn, async (ppn) => {
<h2 v-if="state.ppn && state.loadingPhase >= 1">
Titeldaten
</h2>
<table v-if="state.ppn && state.loadingPhase > 1 && state.titleName">
<table v-if="state.ppn && state.loadingPhase > 1 && (state.titleName || state.subjects?.length)">
<tbody>
<tr>
<th style="max-width: 30%;">
Expand All @@ -382,7 +382,7 @@ watch(() => state.ppn, async (ppn) => {
</tr>
<tr>
<th>Titel</th>
<td>{{ state.titleName }}</td>
<td>{{ state.titleName || "?" }}</td>
</tr>
<tr>
<th>Sacherschließung</th>
Expand Down

0 comments on commit d2d1591

Please sign in to comment.