Skip to content

Commit

Permalink
Issue #498
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrojdeCTL committed Sep 7, 2018
1 parent 65ab907 commit f9fe7f8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ protected JSONObject getSummaryJson(ProcessInstance process) {
}
else {
Process latest = ProcessCache.getProcess(process.getPackageName() + "/" + process.getProcessName());
if (latest != null && !latest.getId().equals(process.getProcessId()))
// If null it means it is archived but was renamed or removed from current assets
if (latest == null || !latest.getId().equals(process.getProcessId()))
summary.put("archived", true);
}
return summary;
Expand Down

0 comments on commit f9fe7f8

Please sign in to comment.