mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 23:28:49 +01:00
notifications are now displayed correctly again
This commit is contained in:
parent
4e25e335a9
commit
402528d97e
2 changed files with 4 additions and 2 deletions
|
|
@ -852,7 +852,9 @@ Users.helpers({
|
|||
const notification = notifications[index];
|
||||
// this preserves their db sort order for editing
|
||||
notification.dbIndex = index;
|
||||
notification.activity = ReactiveCache.getActivity(notification.activity);
|
||||
if (!notification.activityObj && typeof(notification.activity) === 'string') {
|
||||
notification.activityObj = ReactiveCache.getActivity(notification.activity);
|
||||
}
|
||||
}
|
||||
// this sorts them newest to oldest to match Trello's behavior
|
||||
notifications.reverse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue