From: Vincent Vanwaelscappel Date: Fri, 21 May 2021 07:51:12 +0000 (+0200) Subject: wip #4472 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=HEAD;p=redmine-slack.git wip #4472 @0.5 --- diff --git a/lib/redmine_slack/patches/issue_patch.rb b/lib/redmine_slack/patches/issue_patch.rb index 02416fa..fefd3d5 100644 --- a/lib/redmine_slack/patches/issue_patch.rb +++ b/lib/redmine_slack/patches/issue_patch.rb @@ -11,7 +11,6 @@ module RedmineSlack base.class_eval do unloadable after_create :send_redmine_slack_create - after_commit :send_redmine_slack_update after_save :send_redmine_slack_update end end @@ -131,7 +130,7 @@ module RedmineSlack value: ERB::Util.html_escape(priority.to_s), short: true} end - if assigned_to.present? + if assigned_to.present? && assigned_to_id != assigned_to_id_was fields << {title: I18n.t(:field_assigned_to), value: ERB::Util.html_escape(assigned_to.to_s), short: true}