Skip to content

Commit

Permalink
fix: use hidden directly on paper-item (#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Feb 28, 2023
1 parent 4514544 commit 91b4ce7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/www/ui_components/app-root.js
Expand Up @@ -362,12 +362,10 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen
<img src$="[[rootPath]]assets/icons/outline.png" alt="outline" />
<span class="item-label">[[localize('servers-menu-item')]]</span>
</paper-item>
<span hidden$="[[shouldHideFeedback]]">
<paper-item name="feedback">
<img src$="[[rootPath]]assets/icons/feedback.png" alt="feedback" />
[[localize('feedback-page-title')]]
</paper-item>
</span>
<paper-item name="feedback" hidden$="[[shouldHideFeedback]]">
<img src$="[[rootPath]]assets/icons/feedback.png" alt="feedback" />
[[localize('feedback-page-title')]]
</paper-item>
<paper-item name="about">
<img src$="[[rootPath]]assets/icons/about.png" alt="about" />
[[localize('about-page-title')]]
Expand Down

0 comments on commit 91b4ce7

Please sign in to comment.