Skip to content

Commit

Permalink
fix(web-components): extra check to default
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Jul 18, 2024
1 parent 5dd7069 commit a9550aa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ export class ClassificationBanner {
@Prop() upTo?: boolean = false;

render() {
const { classification, inline, country, upTo, additionalSelectors } = this;
const { classification, inline, upTo } = this;
let { country, additionalSelectors } = this;
if(!country) country = "uk";
if(!additionalSelectors) additionalSelectors = "";

return (
<Host class={{ ["inline"]: inline }}>
Expand Down

0 comments on commit a9550aa

Please sign in to comment.