Skip to content

Commit

Permalink
Change 'show more' author modal button wording
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed Mar 19, 2024
1 parent f85f63c commit 15ad64c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Libraries/DocumentList/DocumentItem.tsx
Expand Up @@ -175,7 +175,7 @@ const AuthorList = (props: IAuthorListProps): ReactElement => {
{authorCount > MAX_AUTHORS ? (
<AllAuthorsModal bibcode={bibcode} label={`and ${authorCount - MAX_AUTHORS} more`} />
) : (
<AllAuthorsModal bibcode={bibcode} label={'show list'} />
<AllAuthorsModal bibcode={bibcode} label={'show details'} />
)}
</Box>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/ResultList/Item/Item.tsx
Expand Up @@ -246,7 +246,7 @@ const AuthorList = (props: IAuthorListProps): ReactElement => {
{authorCount > MAX_AUTHORS ? (
<AllAuthorsModal bibcode={bibcode} label={`and ${authorCount - MAX_AUTHORS} more`} />
) : (
<AllAuthorsModal bibcode={bibcode} label={'show list'} />
<AllAuthorsModal bibcode={bibcode} label={'show details'} />
)}
</Box>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/abs/[id]/abstract.tsx
Expand Up @@ -112,7 +112,7 @@ const AbstractPage: NextPage = () => {
{doc.author_count > MAX ? (
<AllAuthorsModal bibcode={doc.bibcode} label={`and ${doc.author_count - MAX} more`} />
) : (
<>{doc.author_count > 0 && <AllAuthorsModal bibcode={doc.bibcode} label={'show list'} />}</>
<>{doc.author_count > 0 && <AllAuthorsModal bibcode={doc.bibcode} label={'show details'} />}</>
)}
</Flex>
) : (
Expand Down

0 comments on commit 15ad64c

Please sign in to comment.