Change collection update to also send notifications if the sensitive label or the topic are changed (#38644)
This commit is contained in:
parent
8124d44ee1
commit
73fc8d34d9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user