From 73641fd78dad557a4c19c4fc48de3a57ba1947a2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 5 May 2019 15:17:29 +0900 Subject: [PATCH] Fix #4852 --- .../app/common/views/components/page-editor/page-editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/common/views/components/page-editor/page-editor.vue b/src/client/app/common/views/components/page-editor/page-editor.vue index baccda8a4..a3c21322a 100644 --- a/src/client/app/common/views/components/page-editor/page-editor.vue +++ b/src/client/app/common/views/components/page-editor/page-editor.vue @@ -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);