candidate vc_text

This commit is contained in:
kurpfish 2021-08-11 17:56:47 +03:00
parent ebe3705753
commit 9195969411

View File

@ -111,7 +111,9 @@ const Candidate = () => {
{text ? ( {text ? (
<div className={style.candidate__text} dangerouslySetInnerHTML={createMarkup(text)}></div> <div className={style.candidate__text} dangerouslySetInnerHTML={createMarkup(text)}></div>
) : ( ) : (
<p className={style.candidate__textSecondary}>Описание отсутствует...</p> <p className={style.candidate__textSecondary}>
{currentCandidateObj.vc_text ? currentCandidateObj.vc_text : 'Описание отсутствует...' }
</p>
)} )}
<Link to={'/form'}> <Link to={'/form'}>
<button type="submit" className={style.candidate__btn}> <button type="submit" className={style.candidate__btn}>