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
No related branches found
No related tags found
No related merge requests found
......@@ -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 ? (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment