From ecf18312ce29c865d1431f4bf4604d9dc7cbcb99 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Wed, 9 Aug 2023 22:40:49 -0700 Subject: [PATCH] Fix typing issue with positive number --- front/src/modules/ui/editable-field/types/ViewField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/modules/ui/editable-field/types/ViewField.ts b/front/src/modules/ui/editable-field/types/ViewField.ts index 7989dd9dbe..24b04bdce7 100644 --- a/front/src/modules/ui/editable-field/types/ViewField.ts +++ b/front/src/modules/ui/editable-field/types/ViewField.ts @@ -39,7 +39,7 @@ export type ViewFieldDateMetadata = { export type ViewFieldNumberMetadata = { type: 'number'; fieldName: string; - isPositive: boolean; + isPositive?: boolean; }; export type ViewFieldRelationMetadata = {