Skip to content

Commit

Permalink
Merge pull request #30 from jokester/fix-user-list-set-admin
Browse files Browse the repository at this point in the history
fix: set-admin label in user admin page
  • Loading branch information
jokester authored Nov 6, 2024
2 parents 8f37ebb + 9b6c969 commit 864f4c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/admin/AdminUserList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ export const AdminUserList: FC<AdminUserListProps> = ({ className }) => {
}}
>
{record.admin
? formatMessage({ id: 'admin.setAdmin' })
: formatMessage({ id: 'admin.unsetAdmin' })}
? formatMessage({ id: 'admin.unsetAdmin' })
: formatMessage({ id: 'admin.setAdmin' })}
</a>
<a
onClick={() => {
Expand Down

0 comments on commit 864f4c6

Please sign in to comment.