summary empty
This commit is contained in:
parent
93ed3adfee
commit
7bf0243dbe
907
package-lock.json
generated
907
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -210,12 +210,15 @@ export const Summary = () => {
|
|||||||
{selectedSkills.length > index + 1 && ","}
|
{selectedSkills.length > index + 1 && ","}
|
||||||
</span>
|
</span>
|
||||||
))}
|
))}
|
||||||
|
{Boolean(!selectedSkills?.length) &&
|
||||||
|
<p style={{fontSize: '16px', fontWeight: '400'}}>Данные не заполнены</p>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{profileInfo.vc_text && !openGit && (
|
{!openGit && (
|
||||||
<div className="summary__experience">
|
<div className="summary__experience">
|
||||||
<div className="experience__block">
|
<div className="experience__block">
|
||||||
<div className="summary__sections__head">
|
<div className="summary__sections__head">
|
||||||
@ -258,7 +261,7 @@ export const Summary = () => {
|
|||||||
) : (
|
) : (
|
||||||
<div
|
<div
|
||||||
className="experience__content"
|
className="experience__content"
|
||||||
dangerouslySetInnerHTML={{ __html: summary }}
|
dangerouslySetInnerHTML={{ __html: summary ? summary : "<p>Данные не заполнены</p>" }}
|
||||||
></div>
|
></div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user