From b9081df62b3df9a6d42618766cc0837c81ddc6fa Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Tue, 26 Aug 2025 09:43:24 +0330 Subject: [PATCH] fixed bug --- .../damages/operator/Actions/create/Forms/DamageInfo.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx b/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx index 5669e83..1cec8c1 100644 --- a/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx +++ b/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx @@ -24,7 +24,11 @@ const DamageInfo = ({ control, setValue, errors }) => { field.onChange(newAlignment)} + onChange={(event, newAlignment) => { + if (newAlignment !== null) { + field.onChange(newAlignment); + } + }} > ناوگان داخلی ناوگان خارجی