Take into account that not all modeled methods have provenance
This commit is contained in:
@@ -122,6 +122,7 @@ export function isModelAccepted(
|
||||
return (
|
||||
modelingStatus !== "unsaved" ||
|
||||
modeledMethod.type === "none" ||
|
||||
!modeledMethodSupportsProvenance(modeledMethod) ||
|
||||
modeledMethod.provenance !== "ai-generated"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user