You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am getting the following error inside the console when clicking on Events in navigation.
function beforeRouteEnter(routeTo, routeFrom, next) {
nprogress__WEBPACK_IMPORTED_MODULE_3___default.a.start();
_services_EventService_js__WEBPACK_IMPORTED_MODULE_2__["default"].getEvents(2, parseInt(routeTo.query.page) || 1).then(function (response) {
console.log("inside then response handling");
next(function (comp) {
comp.events = response.data;
comp.totalEvents = response.headers['x-total-count'];
});
}).catch(function () {
next({
name: 'NetworkError'
});
}).finally(function () {
nprogress__WEBPACK_IMPORTED_MODULE_3___default.a.done();
});
}```
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.
The text was updated successfully, but these errors were encountered:
Hi, I am getting the following error inside the console when clicking on Events in navigation.
The text was updated successfully, but these errors were encountered: