-
- Téléchargements
Update existing notifications in dropdown on fetch
When fetching notifications this merges existing notifications and changes their appearance in the dropdown if the html or the unread status changed. This doesn't update all notifications in the dropdown but only those that are returned by the server. Related to #7247.
parent
ade9b972
Branches
Aucune étiquette associée trouvée
Affichage de
- app/assets/javascripts/app/collections/notifications.js 2 ajouts, 1 suppressionapp/assets/javascripts/app/collections/notifications.js
- app/assets/javascripts/app/models/notification.js 8 ajouts, 1 suppressionapp/assets/javascripts/app/models/notification.js
- app/assets/javascripts/app/views/notification_dropdown_view.js 8 ajouts, 0 suppression...ssets/javascripts/app/views/notification_dropdown_view.js
- spec/javascripts/app/collections/notifications_collection_spec.js 18 ajouts, 2 suppressions...ascripts/app/collections/notifications_collection_spec.js
- spec/javascripts/app/models/notification_spec.js 17 ajouts, 6 suppressionsspec/javascripts/app/models/notification_spec.js
- spec/javascripts/app/views/notification_dropdown_view_spec.js 4 ajouts, 0 suppression.../javascripts/app/views/notification_dropdown_view_spec.js
Veuillez vous inscrire ou vous se connecter pour commenter