Compare commits

...

3 Commits

Author SHA1 Message Date
268ff58ccd Merge pull request 'summary_fix' (#37) from summary_fix into main
Reviewed-on: #37
2024-07-18 17:27:55 +03:00
d18dfae32d summary empty 2024-07-18 17:26:32 +03:00
7bf0243dbe summary empty 2024-07-18 17:26:23 +03:00
2 changed files with 785 additions and 133 deletions

907
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -210,12 +210,17 @@ 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 +263,9 @@ export const Summary = () => {
) : (
<div
className="experience__content"
dangerouslySetInnerHTML={{ __html: summary }}
dangerouslySetInnerHTML={{
__html: summary ? summary : "<p>Данные не заполнены</p>"
}}
></div>
)}
</div>