fix plugin "Enable" button after new download

node-20
Moe 2023-08-06 12:58:36 -07:00
parent 393db4c811
commit 4b8c06a74e
1 changed files with 3 additions and 2 deletions

View File

@ -79,11 +79,12 @@ $(document).ready(function(){
</div>
</div>`)
var newBlock = $(`.card[package-name="${module.name}"]`)
loadedBlocks[module.name] = {
loadedBlocks[module.name] = Object.assign({
block: newBlock,
stdout: newBlock.find('.install-output-stdout'),
stderr: newBlock.find('.install-output-stderr'),
}
},module)
loadedModules[module.name] = module;
}
}
var downloadModule = function(url,packageRoot,callback){