Skip to content

Commit

Permalink
fix: remove default language from logo to avoid deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Sep 21, 2023
1 parent 9ea4c6a commit 81ee2ce
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ export class Header {
) : (
<scale-logo
transparent
language={this.claimLang}
href={this.logoHref}
logoTitle={this.logoTitle}
logoHideTitle={this.logoHideTitle}
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/components/telekom/logo/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Logo {
/** (optional) Set transparent background */
@Prop() transparent: boolean = false;
/** @deprecated; (optional) Language of the logo text/ claimOff showes just the T Logo */
@Prop() language:
@Prop() language?:
| 'de'
| 'en'
| 'cz'
Expand All @@ -36,7 +36,7 @@ export class Logo {
| 'mk_kyr'
| 'ro'
| 'sk'
| string = 'en';
| string;
/** (optional) The height in pixels */
@Prop() size?: number = 38;
/** (optional) Set a link */
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/html/telekom/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@
icon: 'alert-imprint-dataprivacy',
},
];
footer.claimLang = 'de';
</script>
</body>
</html>

0 comments on commit 81ee2ce

Please sign in to comment.