fix #181: al darle a siguiente desde estructura, se fuerza la regeneración de citas
This commit was merged in pull request #184.
This commit is contained in:
@@ -1237,6 +1237,15 @@ export function NuevaBibliografiaModalContainer({
|
||||
const ok =
|
||||
formatoStepRef.current?.validateBeforeNext() ?? true
|
||||
if (!ok) return
|
||||
if (wizard.metodo === 'EN_LINEA' && wizard.formato) {
|
||||
void generateCitasForFormato(
|
||||
wizard.formato,
|
||||
wizard.refs,
|
||||
{
|
||||
force: true,
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
methods.next()
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user