Merge remote-tracking branch 'origin/main' into new_report

This commit is contained in:
jasquat 2022-12-05 14:07:32 -05:00
commit 23bf85a3a0
2 changed files with 2 additions and 3 deletions

View File

@ -12,9 +12,8 @@ export interface RecentProcessModel {
} }
export interface ProcessReference { export interface ProcessReference {
id: string; // The unique id of the process or decision table.
name: string; // The process or decision Display name. name: string; // The process or decision Display name.
identifier: string; identifier: string; // The unique id of the process
display_name: string; display_name: string;
process_group_id: string; process_group_id: string;
process_model_id: string; process_model_id: string;

View File

@ -735,7 +735,7 @@ export default function ProcessModelEditDiagram() {
if (processModel) { if (processModel) {
const files = processModel.files.filter((f) => f.type === type); const files = processModel.files.filter((f) => f.type === type);
files.some((file) => { files.some((file) => {
if (file.references.some((ref) => ref.id === id)) { if (file.references.some((ref) => ref.identifier === id)) {
matchFile = file; matchFile = file;
return true; return true;
} }