Skip to content

Commit 04f0913

Browse files
authored
EES-5967 Public API data set details page - Fixing bug where empty guidance notes appears as a 0 (#5701)
1 parent af9f9e0 commit 04f0913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/explore-education-statistics-frontend/src/modules/data-catalogue/components/DataSetFileApiChangelog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function DataSetFileApiChangelog({
2626
heading={pageSections.apiChangelog}
2727
id="apiChangelog"
2828
>
29-
{guidanceNotes.length && (
29+
{guidanceNotes.length > 0 && (
3030
<p data-testid="public-guidance-notes">{guidanceNotes}</p>
3131
)}
3232
<ApiDataSetChangelog

0 commit comments

Comments
 (0)