Skip to content
Snippets Groups Projects
Unverified Commit 73641fd7 authored by syuilo's avatar syuilo
Browse files

Fix #4852

parent 64aac9d6
No related branches found
No related tags found
No related merge requests found
......@@ -337,7 +337,7 @@ export default Vue.extend({
getScriptBlockList(type: string = null) {
const list = [];
const blocks = blockDefs.filter(block => type === null || block.out === null || block.out === type);
const blocks = blockDefs.filter(block => type === null || block.out === null || block.out === type || typeof block.out === 'number');
for (const block of blocks) {
const category = list.find(x => x.category === block.category);
......
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