Reverte opcionalidade de subcategoria no portal
This commit is contained in:
parent
6a04ef4843
commit
9f85cbaba5
3 changed files with 7 additions and 31 deletions
|
|
@ -112,7 +112,7 @@ export function NewTicketDialog() {
|
|||
}
|
||||
}
|
||||
|
||||
const handleSubcategoryChange = (value: string | null) => {
|
||||
const handleSubcategoryChange = (value: string) => {
|
||||
const previous = form.getValues("subcategoryId") ?? ""
|
||||
const next = value ?? ""
|
||||
form.setValue("subcategoryId", next, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue