Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jn-jairo committed Nov 30, 2023
1 parent dfad2b0 commit aa694f5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions web/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ export class ComfyApp {
for (const inputName in inputs) {
const inputData = inputs[inputName];
const type = inputData[0];
const extraInfo = {};
const extraInfo = {};

let widgetCreated = true;
const widgetType = getWidgetType(inputData, inputName);
Expand All @@ -1405,11 +1405,11 @@ export class ComfyApp {
}
} else {
// Node connection inputs
if (inputData[1]?.multiple) {
extraInfo.multiple = true;
extraInfo.shape = LiteGraph.GRID_SHAPE;
}
this.addInput(inputName, type, extraInfo);
if (inputData[1]?.multiple) {
extraInfo.multiple = true;
extraInfo.shape = LiteGraph.GRID_SHAPE;
}
this.addInput(inputName, type, extraInfo);
widgetCreated = false;
}

Expand Down

0 comments on commit aa694f5

Please sign in to comment.