This commit is contained in:
Alexander Meindl
2020-02-11 09:27:54 +01:00
parent 49e847794f
commit 5d037719c7
2 changed files with 1 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ Changelog
- Redmine 4.1 support
- Fix problems with changed fields, description and notes
- fix problems with quotes #38
- Redundant status and priority in messages #56
1.0.5
-----

View File

@@ -77,17 +77,6 @@ module RedmineMessenger
end
fields = current_journal.details.map { |d| Messenger.detail_to_field(d, project) }
if saved_change_to_status_id?
fields << { title: I18n.t(:field_status),
value: Messenger.markup_format(status.to_s),
short: true }
end
if saved_change_to_priority_id?
fields << { title: I18n.t(:field_priority),
value: Messenger.markup_format(priority.to_s),
short: true }
end
attachment[:fields] = fields if fields.any?