Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfitzsimmons committed Jan 19, 2025
2 parents 702e118 + 416dfb2 commit 33caf9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ export function ShowLoansCommand({
onClose={handleClose}
>
{!hasAnyInteractions ? (
<>
{interactionsText.noInteractions({
preparationTable: String(tables.Preparation.label).toLowerCase(),
})}
</>
) : (
<>
{Array.isArray(data.openLoans) && data.openLoans.length > 0 && (
Expand Down Expand Up @@ -242,6 +237,12 @@ export function ShowLoansCommand({
</>
)}
</>
) : (
<>
{interactionsText.noInteractions({
preparationTable: String(tables.Preparation.label).toLowerCase(),
})}
</>
)}
</Dialog>
) : null;
Expand Down
3 changes: 2 additions & 1 deletion specifyweb/frontend/js_src/lib/localization/interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export const interactionsText = createDictionary({
},
noInteractions: {
comment: 'Example: There are no interactions linked to this {preparation}',
'en-us': 'There are no interactions linked to this {preparationTable:string}.',
'en-us':
'There are no interactions linked to this {preparationTable:string}.',
},
addItems: {
'en-us': 'Add Items',
Expand Down

0 comments on commit 33caf9b

Please sign in to comment.