Skip to content

Commit

Permalink
Fixed logging EDIT_NON_FINALIZED_FORM events
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Oct 28, 2023
1 parent fbe042e commit 9c7c39d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private void logFormEdit(Cursor cursor) {
Form form = formsRepositoryProvider.get().getLatestByFormIdAndVersion(formId, version);
String formTitle = form != null ? form.getDisplayName() : "";

if (status.equals(Instance.STATUS_INCOMPLETE)) {
if (status.equals(Instance.STATUS_INCOMPLETE) || status.equals(Instance.STATUS_INVALID) || status.equals(Instance.STATUS_VALID)) {
AnalyticsUtils.logFormEvent(AnalyticsEvents.EDIT_NON_FINALIZED_FORM, formId, formTitle);
}
}
Expand Down

0 comments on commit 9c7c39d

Please sign in to comment.