Skip to content

Commit b1b8ede

Browse files
fix(ui): minor ts issue
1 parent 3cd8d48 commit b1b8ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/controlLayers/konva/CanvasTool/CanvasBboxToolModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class CanvasBboxToolModule extends CanvasModuleBase {
236236
if (tool !== 'bbox') {
237237
return NO_ANCHORS;
238238
}
239-
if (API_BASE_MODELS.includes(model?.base)) {
239+
if (model?.base && API_BASE_MODELS.includes(model.base)) {
240240
// The bbox is not resizable in these modes
241241
return NO_ANCHORS;
242242
}

0 commit comments

Comments
 (0)