Merge pull request #14 from apuc/authentication

candidate vc_text
This commit is contained in:
kavalar 2021-08-11 17:59:43 +03:00 committed by GitHub
commit 961ca8e827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}>