Skip to content

Commit 91a0004

Browse files
committed
fix branding id in badge progress element
1 parent ef6170f commit 91a0004

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

assets/js/web-components/prpl-badge-progress-bar.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ customElements.define(
1717
* Observed attributes, defined the attributes that will trigger the attributeChangedCallback.
1818
*/
1919
static get observedAttributes() {
20-
return [ 'data-badge-id', 'data-points', 'data-max-points' ];
20+
return [
21+
'data-badge-id',
22+
'data-points',
23+
'data-max-points',
24+
'data-branding-id',
25+
];
2126
}
2227

2328
/**
@@ -123,6 +128,7 @@ customElements.define(
123128
* Render the gauge.
124129
*/
125130
render() {
131+
console.log( this.state );
126132
this.shadowRoot.innerHTML = `
127133
<style>
128134
.container {

0 commit comments

Comments
 (0)