1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-01 08:18:45 +09:00
This commit is contained in:
syuilo 2019-05-05 15:17:29 +09:00
parent 64aac9d6ad
commit 73641fd78d
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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);