diff --git a/README.md b/README.md index c1925b6e..01b6cb73 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,7 @@ topFavorites: # Show these favorites at the top of the list - Country Rocks - Kacey Musgraves Radio numberOfFavoritesToShow: 10 # Use this to limit the amount of favorites to show +hideBrowseMediaButton: true # default is false. Hides the button to open the media browser. ``` ## Using individual section cards diff --git a/src/components/media-browser-header.ts b/src/components/media-browser-header.ts index 988185a0..1b88f023 100644 --- a/src/components/media-browser-header.ts +++ b/src/components/media-browser-header.ts @@ -1,15 +1,16 @@ -import { css, html, LitElement } from 'lit'; +import { css, html, LitElement, nothing } from 'lit'; import { property } from 'lit/decorators.js'; import { MediaPlayerEntityFeature } from '../types'; import Store from '../model/store'; class MediaBrowserHeader extends LitElement { - @property({attribute: false}) store!: Store; + @property({ attribute: false }) store!: Store; render() { return html`
All Favorites