From 508627c6400282ba2c2072c4ebbc028e77c9249c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 21 May 2021 09:51:12 +0200 Subject: [PATCH] wip #4472 @0.5 --- lib/redmine_slack/patches/issue_patch.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} -- 2.39.5