Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 0b825a61bb 1.193.1 2021-05-15 03:07:04 +02:00
DebaucheryLibrarian 7d974e6b89 Patched notifications to handle empty result. 2021-05-15 03:06:57 +02:00
3 changed files with 11 additions and 3 deletions

View File

@ -95,6 +95,14 @@ function initUiActions(store, _router) {
offset: (page - 1) * limit,
});
if (!notifications) {
return {
notifications: [],
totalCount: 0,
unseenCount: 0,
};
}
const curatedNotifications = notifications.nodes.map(notification => curateNotification(notification));
return {

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx",
"version": "1.193.0",
"version": "1.193.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.193.0",
"version": "1.193.1",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.193.0",
"version": "1.193.1",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {