Merge branch 'beta' of https://github.com/payloadcms/payload into fix/zhTW-translations
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user