Skip to content

Commit

Permalink
fix(cc-block): fix close button title
Browse files Browse the repository at this point in the history
Fixes #721
  • Loading branch information
pdesoyres-cc committed Jun 5, 2023
1 parent 09c4994 commit 50c8b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cc-block/cc-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class CcBlock extends LitElement {
outlined
primary
@cc-button:click=${this._clickToggle}
>${(this.state === 'close') ? i18n('cc-block.toggle.close') : i18n('cc-block.toggle.open')}
>${isOpen ? i18n('cc-block.toggle.close') : i18n('cc-block.toggle.open')}
</cc-button>
` : ''}
<slot name="button"></slot>
Expand Down

0 comments on commit 50c8b46

Please sign in to comment.