Skip to content

Commit

Permalink
Change default value to an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
ShishckovA committed Oct 13, 2023
1 parent d5f115a commit 6cc5cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front-end/src/components/Library/LibraryFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
v-for="item in subjects"
:key="item.id"
:value="item.id"
:label="`${item.title} ${milspecialties.find(x => x.id === item.milspecialty)?.code}`"
:label="`${item.title} ${milspecialties.find(x => x.id === item.milspecialty)?.code || ''}`"
/>
</el-select>
</div>
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/views/Book/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
variant="header"
>
{{
publishers.filter((p) => p.id === book.publishers[0])[0]?.name
publishers.filter((p) => p.id === book.publishers[0])[0]?.name || ""
}}
</CustomText>
<template v-if="book.page_count">
Expand Down

0 comments on commit 6cc5cb5

Please sign in to comment.