diff --git a/README.md b/README.md index c120d5b..0275743 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/plugin/package.json b/plugin/package.json index e59b359..1ef31eb 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -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", diff --git a/plugin/src/components/CollectionDocsOrder/CollectionDocsOrderButton.tsx b/plugin/src/components/CollectionDocsOrder/CollectionDocsOrderButton.tsx index ca7817d..7ab7754 100644 --- a/plugin/src/components/CollectionDocsOrder/CollectionDocsOrderButton.tsx +++ b/plugin/src/components/CollectionDocsOrder/CollectionDocsOrderButton.tsx @@ -222,7 +222,9 @@ const CollectionDocsOrderContent = () => { ))}
- {data.isLoading ? 'Loading' : `${t('loaded')} ${data.docs.length}/${data.totalDocs}`} + {data.isLoading + ? 'Loading' + : `${t('pluginCollectionsDocsOrder:loaded')} ${data.docs.length}/${data.totalDocs}`} {hasSave && } {data.hasNextPage && (