Commit 1addf171 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Prevent "0" from being rendered as text

parent d4db1963
Pipeline #156627 passed with stages
in 42 seconds
......@@ -242,7 +242,7 @@ export function JobDetails() {
<div>{/* empty */}</div>
<div className="vf-content">
{/* {% markdown %} */}
{currentJob.field_jobs_you_have.length && (
{currentJob.field_jobs_you_have && (
<>
<h3 id="youhave">You have</h3>
<Html html={currentJob.field_jobs_you_have} />
......@@ -258,7 +258,7 @@ export function JobDetails() {
>
<div>{/* empty */}</div>
<div className="vf-content">
{currentJob.field_jobs_you_also_have.length && (
{currentJob.field_jobs_you_also_have && (
<>
<h3 id="alsohave">You might also have</h3>
<Html html={currentJob.field_jobs_you_also_have} />
......@@ -274,7 +274,7 @@ export function JobDetails() {
>
<div>{/* empty */}</div>
<div className="vf-content">
{currentJob.field_jobs_why_join.length && (
{currentJob.field_jobs_why_join && (
<>
<h3 id="why">Why join us</h3>
<Html html={currentJob.field_jobs_why_join} />
......@@ -331,7 +331,7 @@ export function JobDetails() {
>
<div>{/* empty */}</div>
<div className="vf-content">
{currentJob.field_jobs_what_else_to_know.length && (
{currentJob.field_jobs_what_else_to_know && (
<>
<h3 id="needtoknow">What else you need to know</h3>
<Html html={currentJob.field_jobs_what_else_to_know} />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment