You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2019/12/23 11:15:40 UTC

[incubator-dlab] branch DLAB-1388 created (now 36fad2b)

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

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


      at 36fad2b  [DLAB-1388]:Removed extra warning after assigning user to a project

This branch includes the following new commits:

     new 36fad2b  [DLAB-1388]:Removed extra warning after assigning user to a project

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-dlab] 01/01: [DLAB-1388]:Removed extra warning after assigning user to a project

Posted by dg...@apache.org.
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 <di...@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-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org