diff --git a/src/procedures/music-app/music-app.js b/src/procedures/music-app/music-app.js index a6082173..7fa9e6ed 100644 --- a/src/procedures/music-app/music-app.js +++ b/src/procedures/music-app/music-app.js @@ -63,7 +63,7 @@ MusicApp.getDrumOneShotNames = async function ( //Ensure at least one field is selected if (packName !== "" || drumType !== "") { queriedJSON = drumLibrary.drumSoundLibrary.filter(function (obj) { // Check if field value is empty before finding obj with value. - return(packName === "" || obj.packName === packName) && + return (packName === "" || obj.packName === packName) && (drumType === "" || obj.Instrument === drumType); }); } else {