@indigina/kendo 2.0.25 → 2.0.27
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.
|
@@ -1080,7 +1080,7 @@ class HttpService {
|
|
|
1080
1080
|
delete(path) {
|
|
1081
1081
|
return this.httpClient.delete(this.createUrl(path)).pipe(tap(() => this.showSuccessMessage('ToastrMessages.RemovedSuccessfully')), catchError((err) => this.handleServerError(err)));
|
|
1082
1082
|
}
|
|
1083
|
-
post(path, data,
|
|
1083
|
+
post(path, data, successTranslateMessage = null, showSuccessMessage = true) {
|
|
1084
1084
|
return this.httpClient.post(this.createUrl(path), data).pipe(tap(() => {
|
|
1085
1085
|
if (showSuccessMessage) {
|
|
1086
1086
|
this.showSuccessMessage(successTranslateMessage ?? 'ToastrMessages.SavedSuccessfully');
|
|
@@ -2081,10 +2081,10 @@ class AzureLoginCallbackComponent {
|
|
|
2081
2081
|
this.router.navigate(['home']);
|
|
2082
2082
|
}
|
|
2083
2083
|
});
|
|
2084
|
-
this.msalBroadcastService.msalSubject$.pipe(filter(({ eventType }) => eventType === EventType.ACQUIRE_TOKEN_FAILURE
|
|
2084
|
+
this.msalBroadcastService.msalSubject$.pipe(filter(({ eventType }) => eventType === EventType.ACQUIRE_TOKEN_FAILURE)).subscribe(() => this.authService.logoutRedirect());
|
|
2085
2085
|
}
|
|
2086
2086
|
logout() {
|
|
2087
|
-
this.authService.
|
|
2087
|
+
this.authService.logoutRedirect();
|
|
2088
2088
|
}
|
|
2089
2089
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AzureLoginCallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2090
2090
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: AzureLoginCallbackComponent, isStandalone: true, selector: "lib-azure-login", ngImport: i0, template: '', isInline: true }); }
|