mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Convert menu values to string
This commit is contained in:
parent
621087904d
commit
7e87f314fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue