Skip to content

Commit

Permalink
Use strict equality.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Oct 4, 2023
1 parent 2056c07 commit 9064028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/ui_components/app-root.js
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen
}

_goBack() {
if (this.page == 'contact') {
if (this.page === 'contact') {

Check warning on line 804 in src/www/ui_components/app-root.js

View check run for this annotation

Codecov / codecov/patch

src/www/ui_components/app-root.js#L804

Added line #L804 was not covered by tests
// TODO: Replace with `this.$.contactView` once the element is no longer inside a `dom-if`.
this.shadowRoot.querySelector('#contactView').reset();

Check warning on line 806 in src/www/ui_components/app-root.js

View check run for this annotation

Codecov / codecov/patch

src/www/ui_components/app-root.js#L806

Added line #L806 was not covered by tests
}
Expand Down

0 comments on commit 9064028

Please sign in to comment.