mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-06 09:43:38 +00:00
[UI] Remove debug message (#11854)
This commit is contained in:
@@ -242,11 +242,6 @@ export function ApiFormField({
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
default:
|
default:
|
||||||
// This should never happen - it represents a critical UI issue which should be caught in CI
|
|
||||||
console.error(
|
|
||||||
`Invalid field type for field '${fieldName}': '${fieldDefinition.field_type}'`
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Alert color='red' title={t`Error`}>
|
<Alert color='red' title={t`Error`}>
|
||||||
Invalid field type for field '{fieldName}': '
|
Invalid field type for field '{fieldName}': '
|
||||||
|
|||||||
Reference in New Issue
Block a user