Project

General

Profile

« Previous | Next » 

Revision 53741

manage-subscribers.component & manage-user-notifications.component: when Session is expired, redirect to '/user-info' page to show a proper message (fix unhandled cases).

View differences:

manage-subscribers.component.ts
134 134
    }
135 135

  
136 136
    filterData(row: any, query: string) {
137
      if(!Session.isLoggedIn()){
138
        console.info(this._router.url);
139
        this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl":  this._router.url} });
140
      } else {
137 141
        let returnValue: boolean = false;
138 142

  
139 143
        if(query) {
......
150 154
            }
151 155
        }
152 156
        return true;
157
      }
153 158
    }
154 159

  
155 160
    filterQuery(data, query){

Also available in: Unified diff