Merge branch 'beta' of https://github.com/payloadcms/payload into fix/zhTW-translations

This commit is contained in:
PatrikKozak
2024-04-17 11:15:46 -04:00

View File

@@ -6,7 +6,7 @@ import React from 'react'
import './index.scss'
export const JSONCell: React.FC<DefaultCellComponentProps<string>> = ({ cellData }) => {
const textToShow = cellData.length > 100 ? `${cellData.substring(0, 100)}\u2026` : cellData
const textToShow = cellData?.length > 100 ? `${cellData.substring(0, 100)}\u2026` : cellData
return (
<code className="json-cell">