mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-10 09:02:49 +00:00
show sounds count in header
This commit is contained in:
@@ -59,10 +59,14 @@ export default class SoundList extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="Card">
|
||||
<div className="Card__header">
|
||||
<div className="Card__header" style={{display:'flex'}}>
|
||||
<div>
|
||||
Sounds
|
||||
<i className="fa fa fa-volume-up" aria-hidden="true"/>
|
||||
</div>
|
||||
<div style={{flex:1}}/>
|
||||
<div>({this.state.soundList.length})</div>
|
||||
</div>
|
||||
|
||||
{this.state.soundList.length > 0 ? this.state.soundList.map((sound, index) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user