Merge pull request #300 from thecooltechguy/main

Updated ComfyWorkflows.com's share component
This commit is contained in:
Dr.Lt.Data
2024-01-06 17:24:15 +09:00
committed by GitHub
3 changed files with 64 additions and 15 deletions

View File

@@ -563,13 +563,7 @@ function newDOMTokenList(initialTokens) {
* Check whether the node is a potential output node (img, gif or video output)
*/
const isOutputNode = (node) => {
return [
"VHS_VideoCombine",
"PreviewImage",
"SaveImage",
"ADE_AnimateDiffCombine",
"SaveAnimatedWEBP",
].includes(node.type);
return SUPPORTED_OUTPUT_NODE_TYPES.includes(node.type);
}
// -----------