Skip to content

Commit

Permalink
Fix settings page not rendering without user channels
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarrough committed May 25, 2024
1 parent 08e3615 commit a6d4ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/r4-page-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export default class R4PageSettings extends R4Page {
</section>
`
}
renderNochannel() {

renderNoChannel() {
return html`
<r4-list-item>
<p>No channels yet.</p>
Expand All @@ -80,6 +81,7 @@ export default class R4PageSettings extends R4Page {
</r4-list-item>
`
}

renderUserChannels() {
return this.store.userChannels.map(
(channel) => html`
Expand Down

0 comments on commit a6d4ba4

Please sign in to comment.