Fix optional empty value update

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-10-16 10:32:32 +02:00
parent 6253254335
commit 611b549f08
18 changed files with 516 additions and 497 deletions

View File

@@ -188,8 +188,8 @@ export const useUpdateAudit = () => {
return (input: {
id: string;
name?: string;
validFrom?: string;
validUntil?: string;
validFrom?: string | null;
validUntil?: string | null;
state?: string;
}) => {
if (!input.id) {