Skip to content

Commit

Permalink
fix: update connection band to re-trigger an update when the context …
Browse files Browse the repository at this point in the history
…changes
  • Loading branch information
sghoweri committed Oct 3, 2019
1 parent ca828da commit 113d34c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/micro-journeys/src/connection.js
Expand Up @@ -28,6 +28,10 @@ class BoltConnection extends withLitContext() {
return ['theme'];
}

contextChangedCallback(name, oldValue, value) {
this.triggerUpdate();
}

render() {
const props = this.validateProps(this.props);
const classes = cx('c-bolt-connection');
Expand Down

0 comments on commit 113d34c

Please sign in to comment.