]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Remove unused code 25439/head
authorPatrick Nawracay <pnawracay@suse.com>
Fri, 7 Dec 2018 09:34:51 +0000 (09:34 +0000)
committerPatrick Nawracay <pnawracay@suse.com>
Fri, 7 Dec 2018 09:34:51 +0000 (09:34 +0000)
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts

index 12d094b06c44d5592f128455b59a44ee63a14314..9cbcefcf675d0bff158d866e27f961b5cea8942e 100644 (file)
@@ -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;
   }