]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Auto close table column dropdown on click outside 36862/head
authorTiago Melo <tmelo@suse.com>
Thu, 27 Aug 2020 18:34:17 +0000 (18:34 +0000)
committerTiago Melo <tmelo@suse.com>
Thu, 27 Aug 2020 18:34:17 +0000 (18:34 +0000)
Fixes: https://tracker.ceph.com/issues/46091
This is a manually fix, since the original code includes a big refactor that
can't be backported.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html

index e50bffcd302ad96c53556f70de5d4fe48d6f014f..9699d0a488427c91428862e3fc3856369e46b505 100644 (file)
     <!-- show hide columns -->
     <div class="widget-toolbar">
       <div dropdown
-           [autoClose]="false"
+           [insideClick]="true"
            class="dropdown tc_menuitem tc_menuitem_cluster">
         <a dropdownToggle
            class="btn btn-light dropdown-toggle tc_columnBtn"