Merge pull request #611 from gengshenghong/develop

Fixed #604: Load project error
This commit is contained in:
Ray Schamp authored and GitHub committed 2017-08-24 09:32:05 -04:00
commit e58eec7e50
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ class SoundTab extends React.Component {
onDeleteClick={this.handleDeleteSound}
onItemClick={this.handleSelectSound}
>
{target.sounds && target.sounds.length > 0 ? (
{editingTarget && target.sounds && target.sounds.length > 0 ? (
<SoundEditor soundIndex={this.state.selectedSoundIndex} />
) : null}
{this.props.soundRecorderVisible ? (