Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix: translation key
Browse files Browse the repository at this point in the history
  • Loading branch information
r1tsuu committed Apr 22, 2024
1 parent 3ecf3f1 commit aea57b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://github.com/r1tsuu/payload-plugin-collections-docs-order/assets/64744993/

## Install

`pnpm add @r1tsu/payload-plugin-collections-docs-order@1.0.0-beta.2`
`pnpm add @r1tsu/payload-plugin-collections-docs-order@1.0.0-beta.4`
In your payload.config.ts:

```ts
Expand Down
2 changes: 1 addition & 1 deletion plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@r1tsu/payload-plugin-collections-docs-order",
"private": false,
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ const CollectionDocsOrderContent = () => {
))}
</DraggableSortable>
<div className='order-buttons'>
{data.isLoading ? 'Loading' : `${t('loaded')} ${data.docs.length}/${data.totalDocs}`}
{data.isLoading
? 'Loading'
: `${t('pluginCollectionsDocsOrder:loaded')} ${data.docs.length}/${data.totalDocs}`}
{hasSave && <Button onClick={() => save()}>{t('pluginCollectionsDocsOrder:save')}</Button>}
{data.hasNextPage && (
<Button onClick={loadMore}>{t('pluginCollectionsDocsOrder:loadMore')}</Button>
Expand Down

0 comments on commit aea57b6

Please sign in to comment.