]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard_v2: Fix typo on method isLoginActive
authorRicardo Marques <rimarques@suse.com>
Tue, 30 Jan 2018 17:09:15 +0000 (17:09 +0000)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:03 +0000 (13:07 +0000)
Signed-off-by: Ricardo Marques <rimarques@suse.com>
src/pybind/mgr/dashboard_v2/frontend/src/app/app.component.html
src/pybind/mgr/dashboard_v2/frontend/src/app/app.component.ts

index 31af1450115dd544dbd284feebb8a7ccd48cfafc..2889a37ca5be844e5c21ef02ac1bd184e2beec3f 100644 (file)
@@ -1,6 +1,6 @@
-<cd-navigation *ngIf="!isLogginActive()"></cd-navigation>
+<cd-navigation *ngIf="!isLoginActive()"></cd-navigation>
 <div class="container-fluid"
-     [ngClass]="{'full-height':isLogginActive()}">
-  <div *ngIf="!isLogginActive()" class="breadcrumb"></div>
+     [ngClass]="{'full-height':isLoginActive()}">
+  <div *ngIf="!isLoginActive()" class="breadcrumb"></div>
   <router-outlet></router-outlet>
 </div>
index d9d60e1fc020a3a1aebd64f42832117864581e76..c08b7b9e7b4d25700fe05e5f40740d9fc53c77e0 100644 (file)
@@ -18,7 +18,7 @@ export class AppComponent {
     this.toastr.setRootViewContainerRef(vcr);
   }
 
-  isLogginActive() {
+  isLoginActive() {
     return this.router.url === '/login' || !this.authStorageService.isLoggedIn();
   }