Merge pull request #820 from ericrosenbaum/bugfix/extension-menu-values

Convert music extension menu values to string
This commit is contained in:
Eric Rosenbaum 2017-11-27 17:10:23 -05:00 committed by GitHub
commit 6dffc0e512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ class Scratch3MusicBlocks {
return info.map((entry, index) => { return info.map((entry, index) => {
const obj = {}; const obj = {};
obj.text = entry.name; obj.text = entry.name;
obj.value = index + 1; obj.value = String(index + 1);
return obj; return obj;
}); });
} }