diff --git a/views/partials/_cookie-banner.njk b/views/partials/_cookie-banner.njk index af990cbd5b..cdb1ae0699 100644 --- a/views/partials/_cookie-banner.njk +++ b/views/partials/_cookie-banner.njk @@ -124,7 +124,7 @@ } function categoryIsNull (options) { - return (options && options.{{ params.category }} === null) + return (options && options.{{ category }} === null) } // Don't show the banner on the cookies page