Skip to content

Commit 986bba1

Browse files
author
Nicole Garcia
committed
fix: TTA-204-add-spinner-when-user-click-to-login
1 parent 387de8b commit 986bba1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.dev.env

-2 Bytes
Binary file not shown.

src/app/modules/shared/interceptors/spinner.interceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class SpinnerInterceptor implements HttpInterceptor {
1717
req: HttpRequest<any>,
1818
next: HttpHandler
1919
): Observable<HttpEvent<any>> {
20-
if(req.url.endsWith('recent')){
20+
if(req.url.endsWith('recent') || req.url.endsWith('login')){
2121
const spinnerSubscription: Subscription = this.spinnerOverlayService.spinner$.subscribe();
2222
return next
2323
.handle(req)

0 commit comments

Comments
 (0)