Merge pull request #68 from sartography/bug/open_dmn_files
Fix opening DMN Tables with "Launch Editor" button
This commit is contained in:
commit
23a27675a4
|
@ -12,9 +12,8 @@ export interface RecentProcessModel {
|
|||
}
|
||||
|
||||
export interface ProcessReference {
|
||||
id: string; // The unique id of the process or decision table.
|
||||
name: string; // The process or decision Display name.
|
||||
identifier: string;
|
||||
identifier: string; // The unique id of the process
|
||||
display_name: string;
|
||||
process_group_id: string;
|
||||
process_model_id: string;
|
||||
|
|
|
@ -735,7 +735,7 @@ export default function ProcessModelEditDiagram() {
|
|||
if (processModel) {
|
||||
const files = processModel.files.filter((f) => f.type === type);
|
||||
files.some((file) => {
|
||||
if (file.references.some((ref) => ref.id === id)) {
|
||||
if (file.references.some((ref) => ref.identifier === id)) {
|
||||
matchFile = file;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue