diff --git a/webroot/js/app.js b/webroot/js/app.js index be2d3d451..e38e178f4 100644 --- a/webroot/js/app.js +++ b/webroot/js/app.js @@ -4,7 +4,7 @@ const html = htm.bind(h); import showdown from '/js/web_modules/showdown.js'; import { OwncastPlayer } from './components/player.js'; -import SocialIcon from './components/social.js'; +import SocialIconsList from './components/social-icons-list.js'; import UsernameForm from './components/chat/username.js'; import Chat from './components/chat/chat.js'; import Websocket from './utils/websocket.js'; @@ -388,9 +388,8 @@ export default class App extends Component { const bgLogo = { backgroundImage: `url(${smallLogo})` }; const bgLogoLarge = { backgroundImage: `url(${largeLogo})` }; - const tagList = !tags.length - ? null - : tags.map( + const tagList = (tags !== null && tags.length > 0) + ? tags.map( (tag, index) => html`