Se corrige bug en asignaturas
This commit is contained in:
@@ -451,7 +451,7 @@ function DatosGenerales({
|
|||||||
!valActual?.description ||
|
!valActual?.description ||
|
||||||
valActual.description === config.description
|
valActual.description === config.description
|
||||||
|
|
||||||
const currentContent = valActual.description ?? ''
|
const currentContent = valActual?.description ?? ''
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<InfoCard
|
<InfoCard
|
||||||
@@ -654,9 +654,7 @@ function InfoCard({
|
|||||||
(data ? (
|
(data ? (
|
||||||
<p className="whitespace-pre-wrap">{data}</p>
|
<p className="whitespace-pre-wrap">{data}</p>
|
||||||
) : (
|
) : (
|
||||||
<p className="text-slate-400 italic">
|
<p className="text-slate-400 italic">Sin información.</p>
|
||||||
Sin información. Ejemplo: {placeholder}
|
|
||||||
</p>
|
|
||||||
))}
|
))}
|
||||||
{type === 'requirements' && <RequirementsView items={data} />}
|
{type === 'requirements' && <RequirementsView items={data} />}
|
||||||
{type === 'evaluation' && <EvaluationView items={data} />}
|
{type === 'evaluation' && <EvaluationView items={data} />}
|
||||||
|
|||||||
Reference in New Issue
Block a user