Code Review
/
portal
/
nonrtric-controlpanel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9719fd1
)
Show red banner when connection is lost with service
57/6957/2
author
ychacon
<yennifer.chacon@est.tech>
Thu, 28 Oct 2021 09:05:16 +0000
(11:05 +0200)
committer
ychacon
<yennifer.chacon@est.tech>
Thu, 28 Oct 2021 09:14:19 +0000
(11:14 +0200)
Issue-ID: NONRTRIC-614
Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: I6f05be633fc1c9a511c59ece2367588c68d79c67
webapp-frontend/src/app/interceptor.ts
patch
|
blob
|
history
diff --git
a/webapp-frontend/src/app/interceptor.ts
b/webapp-frontend/src/app/interceptor.ts
index
cade60d
..
afa4f0c
100644
(file)
--- a/
webapp-frontend/src/app/interceptor.ts
+++ b/
webapp-frontend/src/app/interceptor.ts
@@
-34,8
+34,8
@@
export class HttpRequestInterceptor implements HttpInterceptor {
return next.handle(request).pipe(
catchError((error: HttpErrorResponse) => {
console.error("Error from error interceptor", error);
-
- if (!request.url.includes("info-jobs")
&&
error.status != 404) {
+
+ if (!request.url.includes("info-jobs")
||
error.status != 404) {
// show dialog for error message
this.notificationService.error(error.message);
}