awing-library 2.1.55-beta → 2.1.56-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@ var NotificationItem = function (props) {
25
25
  };
26
26
  var handleClickNotification = function () {
27
27
  navigate((0, Message_1.getFullDescription)(sagaTransactionType, t, fields).url);
28
- status === Types_1.NotificationMessageStatus.Read &&
28
+ status === Types_1.NotificationMessageStatus.Unread &&
29
29
  onUpdateStatus({ id: id, status: status });
30
30
  };
31
31
  var itemStatus = status === Types_1.NotificationMessageStatus.Unread;
@@ -44,7 +44,7 @@ var NotificationList = function (props) {
44
44
  var _c = (0, react_1.useState)(notificationMessage), notifications = _c[0], setNotifications = _c[1];
45
45
  (0, react_1.useLayoutEffect)(function () {
46
46
  setNotifications(valueFilter.tabs === Constant_1.Constants.UNREAD
47
- ? notificationMessage.filter(function (item) { return item.status === Types_1.NotificationMessageStatus.Read; })
47
+ ? notificationMessage.filter(function (item) { return item.status === Types_1.NotificationMessageStatus.Unread; })
48
48
  : notificationMessage);
49
49
  }, [notificationMessage, valueFilter.tabs]);
50
50
  if (!notifications.length && !isLoading) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.55-beta",
3
+ "version": "2.1.56-beta",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",