diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-05-05 15:17:29 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-05-05 15:17:29 +0900 |
| commit | 73641fd78dad557a4c19c4fc48de3a57ba1947a2 (patch) | |
| tree | d0caa2d71c918b46804df9b53ba7b541104e990e /src | |
| parent | Fix #4862 (diff) | |
| download | sharkey-73641fd78dad557a4c19c4fc48de3a57ba1947a2.tar.gz sharkey-73641fd78dad557a4c19c4fc48de3a57ba1947a2.tar.bz2 sharkey-73641fd78dad557a4c19c4fc48de3a57ba1947a2.zip | |
Fix #4852
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/components/page-editor/page-editor.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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 baccda8a43..a3c21322af 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); |