Overhaul radio UI, fixes #93

This commit is contained in:
James Barnsley
2017-04-18 04:44:39 +12:00
parent 46c8288713
commit 79090edd2c
13 changed files with 169 additions and 87 deletions

View File

@ -62,6 +62,7 @@ class Queue extends React.Component{
<button onClick={e => this.props.uiActions.openModal('edit_radio')}>
<FontAwesome name="podcast" />&nbsp;
Radio
{this.props.radio && this.props.radio.enabled ? <span className="flag blue">On</span> : null}
</button>
<button onClick={e => hashHistory.push(global.baseURL+'queue-history')}>
<FontAwesome name="history" />&nbsp;