]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix linting issues
authorPere Diaz Bou <pdiazbou@redhat.com>
Tue, 21 Jun 2022 08:34:56 +0000 (10:34 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Thu, 30 Jun 2022 14:56:37 +0000 (16:56 +0200)
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.spec.ts

index 79defcc041b20afd1320056d3790e793865cfc00..164c181dab4bb76ad865ad9ed1c2dea5746a23bf 100644 (file)
@@ -7,15 +7,16 @@
     <div class="blank-page">
       <div *ngIf="header && message; else elseBlock">
         <i [ngClass]="icon"
-          class="mx-auto d-block"></i>
+           class="mx-auto d-block"></i>
 
         <div class="mt-4 text-center">
           <h3><b>{{ header }}</b></h3>
           <h4 class="mt-3"
               *ngIf="header !== message">{{ message }}</h4>
-            <h4 *ngIf="section"
-                i18n>Please consult the <a href="{{ docUrl }}">documentation</a> on how to configure and enable
-                     the {{ sectionInfo }} management functionality.</h4>
+          <h4 *ngIf="section"
+              i18n>Please consult the <a href="{{ docUrl }}">documentation</a> on how to configure and enable
+                   the {{ sectionInfo }} management functionality.
+          </h4>
         </div>
       </div>
 
index 65b93330033fbdbc18736a9f0794964c0744d0a3..5763d4d975fb6dd3ea2e85c496fdf1d765c3ddc4 100644 (file)
@@ -14,12 +14,7 @@ describe('ErrorComponent', () => {
 
   configureTestBed({
     declarations: [ErrorComponent],
-    imports: [
-      HttpClientTestingModule,
-      RouterTestingModule,
-      SharedModule,
-      ToastrModule.forRoot()
-    ]
+    imports: [HttpClientTestingModule, RouterTestingModule, SharedModule, ToastrModule.forRoot()]
   });
 
   beforeEach(() => {