From d19ecab90c830e7436e8aed62ab1dee3d7070c7d Mon Sep 17 00:00:00 2001 From: gabek Date: Sun, 20 Jun 2021 01:13:03 +0000 Subject: [PATCH] Prettified Code! --- webroot/js/app.js | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/webroot/js/app.js b/webroot/js/app.js index b75610238..598a68032 100644 --- a/webroot/js/app.js +++ b/webroot/js/app.js @@ -551,21 +551,21 @@ export default class App extends Component { const externalActionButtons = externalActions && externalActions.length > 0 - ? html`
- ${externalActions.map( - function (action, index) { - return html`<${ExternalActionButton} - onClick=${this.displayExternalAction} - action=${action} - index=${index} - />`; - }.bind(this) - )} -
` - : null; + ? html`
+ ${externalActions.map( + function (action, index) { + return html`<${ExternalActionButton} + onClick=${this.displayExternalAction} + action=${action} + index=${index} + />`; + }.bind(this) + )} +
` + : null; const externalActionModal = externalAction ? html`<${ExternalActionModal} @@ -668,7 +668,8 @@ export default class App extends Component {

${name}

- ${externalActionButtons && html`
${externalActionButtons}
`} + ${externalActionButtons && + html`
${externalActionButtons}
`}

${streamOnline && streamTitle}