Project

General

Profile

« Previous | Next » 

Revision ea0d94e6

Added by Ohad Levy about 7 years ago

fixes #19192 - adds mark all as read notification action

This implements missing feature from patternfly ( see http://www.patternfly.org/pattern-library/communication/notification-drawer/#/code/angular)

View differences:

webpack/assets/javascripts/react_app/API.js
dataType: 'json',
data: data,
error: function (jqXHR, textStatus, errorThrown) {
/* eslint-disable no-console */
console.log(jqXHR);
}
});
},
markGroupNotificationAsRead(group) {
$.ajax({
url: `/notification_recipients/group/${group}`,
contentType: 'application/json',
type: 'PUT',
error: function (jqXHR, textStatus, errorThrown) {
/* eslint-disable no-console */
console.log(jqXHR);
}
});

Also available in: Unified diff