This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch DLAB-1388
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 36fad2bce41aa7318d45fcfe96d9177bca38a2c9
Author: Dmytro Gnatyshyn <di1...@ukr.net>
AuthorDate: Mon Dec 23 13:15:20 2019 +0200

    [DLAB-1388]:Removed extra warning after assigning user to a project
---
 .../main/resources/webapp/src/app/shared/navbar/navbar.component.ts    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.ts
 
b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.ts
index 7c61100..56d9905 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.ts
@@ -38,6 +38,7 @@ import {
   animateChild,
   state
 } from '@angular/animations';
+import {skip} from "rxjs/operators";
 
 @Component({
   selector: 'dlab-navbar',
@@ -104,7 +105,7 @@ export class NavbarComponent implements OnInit, OnDestroy {
 
       this.isLoggedIn = response;
       if (this.isLoggedIn) {
-        
this.subscriptions.add(this.healthStatusService.statusData.subscribe(result => {
+        
this.subscriptions.add(this.healthStatusService.statusData.pipe(skip(1)).subscribe(result
 => {
           this.healthStatus = result;
           result.status && this.checkQuoteUsed(this.healthStatus);
           result.status && !result.projectAssigned && 
this.checkAssignment(this.healthStatus);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to