Change collection update to also send notifications if the sensitive label or the topic are changed (#38644)
This commit is contained in:
1 parent
8124d44ee1
commit
73fc8d34d9
1 file changed
+1
-1
@@ -16,6 +16,6 @@ class NotifyOfCollectionUpdateService
|
||||
return false if collection.previously_new_record?
|
||||
|
||||
# Only notify of change to description or name
|
||||
%i(description description_html name).any? { |attr| collection.attribute_previously_changed?(attr) }
|
||||
%i(description description_html name sensitive tag_id).any? { |attr| collection.attribute_previously_changed?(attr) }
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user