mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:05:45 +00:00
fix(ellipsis): fix undefined error
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
This commit is contained in:
parent
cd1d568922
commit
cbffcf95d7
@ -25,7 +25,11 @@ export const ellipsisSettingsItem: SchemaSettingsItemType = {
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const schema = tableFieldSchema || fieldSchema;
|
const schema = tableFieldSchema || fieldSchema;
|
||||||
const hidden = tableFieldSchema ? !filedInstanceList[0].readPretty : !formField.readPretty;
|
const hidden = tableFieldSchema
|
||||||
|
? filedInstanceList[0]
|
||||||
|
? !filedInstanceList[0].readPretty
|
||||||
|
: !tableFieldSchema['x-read-pretty']
|
||||||
|
: !formField.readPretty;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
title: t('Ellipsis overflow content'),
|
title: t('Ellipsis overflow content'),
|
||||||
|
Loading…
Reference in New Issue
Block a user