summary empty

This commit is contained in:
Николай Полтщук 2024-07-18 17:26:23 +03:00
parent 93ed3adfee
commit 7bf0243dbe
2 changed files with 781 additions and 133 deletions

907
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -210,12 +210,15 @@ export const Summary = () => {
{selectedSkills.length > index + 1 && ","}
</span>
))}
{Boolean(!selectedSkills?.length) &&
<p style={{fontSize: '16px', fontWeight: '400'}}>Данные не заполнены</p>
}
</div>
)}
</div>
</div>
)}
{profileInfo.vc_text && !openGit && (
{!openGit && (
<div className="summary__experience">
<div className="experience__block">
<div className="summary__sections__head">
@ -258,7 +261,7 @@ export const Summary = () => {
) : (
<div
className="experience__content"
dangerouslySetInnerHTML={{ __html: summary }}
dangerouslySetInnerHTML={{ __html: summary ? summary : "<p>Данные не заполнены</p>" }}
></div>
)}
</div>