No need for tiles, just service status

This commit is contained in:
James Barnsley
2017-11-04 14:03:59 +13:00
parent 98b21efbdf
commit a50c8b454e
8 changed files with 83 additions and 99 deletions

View File

@ -41,7 +41,7 @@ class FollowButton extends React.Component{
}
if (!this.props.spotify_authorized){
return <button className={className+' disabled'} onClick={e => this.props.uiActions.createNotification('You must authorize Iris first','warning')}>{this.props.addText}</button>
return <button className={className+' disabled'} onClick={e => this.props.uiActions.createNotification('You must authorize Spotify first','warning')}>{this.props.addText}</button>
} else if (this.props.is_following === true){
return <button className={className+' destructive'} onClick={e => this.remove()}>{this.props.removeText}</button>
} else {

View File

@ -39,7 +39,7 @@ export default class URILink extends React.Component{
break;
default:
return null;
to = null;
}
return (