Skip to content
Snippets Groups Projects
Commit c2d642ca authored by Geng Shenghong's avatar Geng Shenghong
Browse files

Fixed #604: Load project error

parent 3f1494e3
Branches
Tags
No related merge requests found
...@@ -106,7 +106,7 @@ class SoundTab extends React.Component { ...@@ -106,7 +106,7 @@ class SoundTab extends React.Component {
onDeleteClick={this.handleDeleteSound} onDeleteClick={this.handleDeleteSound}
onItemClick={this.handleSelectSound} onItemClick={this.handleSelectSound}
> >
{target.sounds && target.sounds.length > 0 ? ( {editingTarget && target.sounds && target.sounds.length > 0 ? (
<SoundEditor soundIndex={this.state.selectedSoundIndex} /> <SoundEditor soundIndex={this.state.selectedSoundIndex} />
) : null} ) : null}
{this.props.soundRecorderVisible ? ( {this.props.soundRecorderVisible ? (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment