diff --git a/app/coffee/modules/common/components.coffee b/app/coffee/modules/common/components.coffee index b4fa3fc8..9a483475 100644 --- a/app/coffee/modules/common/components.coffee +++ b/app/coffee/modules/common/components.coffee @@ -349,7 +349,8 @@ AssignedToDirective = ($rootscope, $confirm, $repo, $loading) -> $model.$modelValue.assigned_to = null save($model.$modelValue) - $scope.$on "assigned-to:added", (ctx, userId) -> + $scope.$on "assigned-to:added", (ctx, userId, item) -> + return if item.id != $model.$modelValue.id $model.$modelValue.assigned_to = userId save($model.$modelValue)