Only send email when project access level changes.
This commit is contained in:
parent
1eec1f4f20
commit
0e7665e09b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class UsersProjectObserver < BaseObserver
|
|||
end
|
||||
|
||||
def after_update(users_project)
|
||||
notification.update_team_member(users_project)
|
||||
notification.update_team_member(users_project) if users_project.project_access_changed?
|
||||
end
|
||||
|
||||
def after_destroy(users_project)
|
||||
|
|
Loading…
Reference in a new issue