Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nationalarchives/tna-frontend into …
Browse files Browse the repository at this point in the history
…feature/chip-list-updates
  • Loading branch information
ahosgood committed Nov 20, 2023
2 parents a7995b5 + db292d4 commit 15ca1f5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- High contrast support for chip lists with icons
- Allow custom cookie path to be passed to cookie banner

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class CookieBanner {

const policies = this.$module.getAttribute("data-policies") || "";
const domain = this.$module.getAttribute("data-domain") || undefined;
const path = this.$module.getAttribute("data-path") || undefined;
const secure = this.$module.getAttribute("data-secure") || undefined;
const policiesKey =
this.$module.getAttribute("data-policies-key") || undefined;
Expand All @@ -40,6 +41,7 @@ export class CookieBanner {
.map((policy) => policy.trim()),
{
domain,
path,
secure,
policiesKey,
},
Expand Down
Loading

0 comments on commit 15ca1f5

Please sign in to comment.