fix: openEdit fetch ProductTypeDetail antes de abrir dialog (closes #37) #42

Merged
dmolinari merged 1 commits from fix/issue-37-openedit-fetch-detail into main 2026-04-19 19:53:47 +00:00

1 Commits

Author SHA1 Message Date
616f6432d1 fix(frontend): openEdit fetch ProductTypeDetail antes de abrir dialog (closes #37)
Reemplaza el stub con nulls por queryClient.fetchQuery con getProductTypeById,
deshabilitando el botón durante la carga y mostrando toast.error si falla.
2026-04-19 16:53:00 -03:00