From: Patrick Nawracay Date: Fri, 7 Dec 2018 09:34:51 +0000 (+0000) Subject: mgr/dashboard: Remove unused code X-Git-Tag: v14.1.0~677^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F25439%2Fhead;p=ceph.git mgr/dashboard: Remove unused code Signed-off-by: Patrick Nawracay --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts index 12d094b06c44..9cbcefcf675d 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts @@ -131,10 +131,6 @@ export class PoolListComponent implements OnInit { } updateSelection(selection: CdTableSelection) { - if (selection.hasSingleSelection && Object.keys(selection.first()).length === 3) { - selection.selected = []; - selection.update(); - } this.selection = selection; }