ticket without service id
This commit is contained in:
@@ -65,6 +65,10 @@ const CreateTicket: FC = () => {
|
||||
delete values.attachmentUrls
|
||||
}
|
||||
|
||||
if (values.danakServiceId === '') {
|
||||
delete values.danakServiceId
|
||||
}
|
||||
|
||||
|
||||
createTicket.mutate(values, {
|
||||
onSuccess: (data) => {
|
||||
|
||||
Reference in New Issue
Block a user