From: Volker Theile Date: Mon, 29 Jun 2020 08:42:56 +0000 (+0200) Subject: mgr/dashboard: Remove useless tab in monitoring/alerts datatable details X-Git-Tag: v15.2.9~122^2~97^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1f3a5d4372626b11aaa8fe820b4398f90dbd1a2a;p=ceph.git mgr/dashboard: Remove useless tab in monitoring/alerts datatable details Fixes: https://tracker.ceph.com/issues/46249 Signed-off-by: Volker Theile (cherry picked from commit 505b0433d1fff8fe5d6285a39afd02495bdb89c9) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html index c0050ac7dae7..ba9e7e63cfbd 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html @@ -3,13 +3,10 @@ [hasDetails]="true" (updateSelection)="setExpandedRow($event)" [selectionType]="'single'"> - - - - - + + diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts index 27581aae7dcf..7959717d80c8 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts @@ -2,8 +2,6 @@ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { TabsModule } from 'ngx-bootstrap/tabs'; - import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper'; import { PrometheusService } from '../../../../shared/api/prometheus.service'; import { SettingsService } from '../../../../shared/api/settings.service'; @@ -16,7 +14,7 @@ describe('RulesListComponent', () => { configureTestBed({ declarations: [RulesListComponent], - imports: [HttpClientTestingModule, SharedModule, TabsModule.forRoot(), BrowserAnimationsModule], + imports: [HttpClientTestingModule, SharedModule, BrowserAnimationsModule], providers: [PrometheusService, SettingsService, i18nProviders] });