Skip to content

Commit

Permalink
Always show dismiss note (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 10, 2021
1 parent f819466 commit 4b83424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"descending": "descending",
"last_updated": "Last updated",
"name": "Name",
"new_repositories_note": "You have over 10 new repositories showing here.",
"new_repositories_note": "You some new repositories showing here.",
"no_repositories": "No repositories",
"no_repositories_desc1": "It seems like you don't have any repositories downloaded in this section yet.",
"no_repositories_desc2": "Click on the + in the bottom corner to add your first!",
Expand Down
2 changes: 1 addition & 1 deletion src/panels/hacs-store-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class HacsStorePanel extends LitElement {
></hacs-filter>
</div>`
: ""}
${newRepositories?.length > 10
${newRepositories?.length
? html`<ha-alert
@alert-action-clicked=${this._clearAllNewRepositories}
.actionText=${this.hacs.localize("menu.dismiss")}
Expand Down

0 comments on commit 4b83424

Please sign in to comment.