diff --git a/apps/docs/package.json b/apps/docs/package.json index 1edf1e72..3fc11ceb 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@heroicons/react": "^2.1.1", - "@premieroctet/next-admin": "6.1.4", + "@premieroctet/next-admin": "6.1.5", "clsx": "^2.1.0", "framer-motion": "^11.0.8", "mini-svg-data-uri": "^1.4.4", diff --git a/apps/docs/pages/changelog/index.md b/apps/docs/pages/changelog/index.md index 6d4d9e46..b1fdf5a4 100644 --- a/apps/docs/pages/changelog/index.md +++ b/apps/docs/pages/changelog/index.md @@ -1,5 +1,12 @@ # @premieroctet/next-admin +## 6.1.5 + +### Patch Changes + +- [6077955](https://github.com/premieroctet/next-admin/commit/6077955): fix: default boolean display ([#466](https://github.com/premieroctet/next-admin/issues/466)) +- [c25f61c](https://github.com/premieroctet/next-admin/commit/c25f61c): fix: crash on undefined relationship length ([#465](https://github.com/premieroctet/next-admin/issues/465)) + ## 6.1.4 ### Patch Changes diff --git a/apps/example/package.json b/apps/example/package.json index 32f14f5c..8d035b58 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -20,7 +20,7 @@ "dependencies": { "@heroicons/react": "^2.0.18", "@picocss/pico": "^1.5.7", - "@premieroctet/next-admin": "6.1.4", + "@premieroctet/next-admin": "6.1.5", "@prisma/client": "5.14.0", "@tremor/react": "^3.2.2", "babel-plugin-superjson-next": "^0.4.5", diff --git a/packages/next-admin/CHANGELOG.md b/packages/next-admin/CHANGELOG.md index 6d4d9e46..b1fdf5a4 100644 --- a/packages/next-admin/CHANGELOG.md +++ b/packages/next-admin/CHANGELOG.md @@ -1,5 +1,12 @@ # @premieroctet/next-admin +## 6.1.5 + +### Patch Changes + +- [6077955](https://github.com/premieroctet/next-admin/commit/6077955): fix: default boolean display ([#466](https://github.com/premieroctet/next-admin/issues/466)) +- [c25f61c](https://github.com/premieroctet/next-admin/commit/c25f61c): fix: crash on undefined relationship length ([#465](https://github.com/premieroctet/next-admin/issues/465)) + ## 6.1.4 ### Patch Changes diff --git a/packages/next-admin/package.json b/packages/next-admin/package.json index 6ab410e3..778c31f4 100644 --- a/packages/next-admin/package.json +++ b/packages/next-admin/package.json @@ -1,6 +1,6 @@ { "name": "@premieroctet/next-admin", - "version": "6.1.4", + "version": "6.1.5", "description": "Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your project.", "keywords": [ "next.js", diff --git a/packages/next-admin/src/components/Cell.tsx b/packages/next-admin/src/components/Cell.tsx index e6730b6f..e7f9a683 100644 --- a/packages/next-admin/src/components/Cell.tsx +++ b/packages/next-admin/src/components/Cell.tsx @@ -83,7 +83,7 @@ export default function Cell({ cell, formatter, copyable }: Props) { "bg-nextadmin-background-subtle dark:bg-dark-nextadmin-background-subtle text-nextadmin-brand-subtle dark:text-dark-nextadmin-content-subtle" )} > -

{cellValue}

+

{cellValue?.toString()}

); } diff --git a/yarn.lock b/yarn.lock index 7d20d797..f039b145 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2759,7 +2759,7 @@ __metadata: languageName: unknown linkType: soft -"@premieroctet/next-admin@npm:6.1.4, @premieroctet/next-admin@workspace:packages/next-admin": +"@premieroctet/next-admin@npm:6.1.5, @premieroctet/next-admin@workspace:packages/next-admin": version: 0.0.0-use.local resolution: "@premieroctet/next-admin@workspace:packages/next-admin" dependencies: @@ -7075,7 +7075,7 @@ __metadata: dependencies: "@babel/core": "npm:^7.0.0" "@heroicons/react": "npm:^2.1.1" - "@premieroctet/next-admin": "npm:6.1.4" + "@premieroctet/next-admin": "npm:6.1.5" "@types/node": "npm:^17.0.12" "@types/react": "npm:^18.2.0" "@types/react-dom": "npm:^18.2.0" @@ -8138,7 +8138,7 @@ __metadata: "@heroicons/react": "npm:^2.0.18" "@picocss/pico": "npm:^1.5.7" "@playwright/test": "npm:^1.37.0" - "@premieroctet/next-admin": "npm:6.1.4" + "@premieroctet/next-admin": "npm:6.1.5" "@premieroctet/next-admin-generator-prisma": "workspace:*" "@prisma/client": "npm:5.14.0" "@tremor/react": "npm:^3.2.2"