Exclude projects pending delete from notifications
If the Sidekiq job fails for some reason, a project can be 'stuck' pending deletion. The project can't be viewed, so it shouldn't be available through the notification settings association as this will throw an exception when we try to show the link.
显示
- CHANGELOG 1 个添加, 0 个删除CHANGELOG
- app/models/notification_setting.rb 8 个添加, 1 个删除app/models/notification_setting.rb
- spec/factories/notification_settings.rb 8 个添加, 0 个删除spec/factories/notification_settings.rb
- spec/models/notification_setting_spec.rb 17 个添加, 0 个删除spec/models/notification_setting_spec.rb
加载中
想要评论请 注册 或 登录