]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix TableComponent when changing columns afterViewInit
authorTiago Melo <tmelo@suse.com>
Fri, 18 Jan 2019 12:19:19 +0000 (12:19 +0000)
committerTiago Melo <tmelo@suse.com>
Tue, 5 Feb 2019 12:02:33 +0000 (12:02 +0000)
commitf718524ee7ec09219f366f66a1f79711f044345b
tree428bade0609bf39ee5311e7adab4aaae5552cdc7
parent4f27371760673121b8292964811284f19cd2bbbe
mgr/dashboard: Fix TableComponent when changing columns afterViewInit

Angular was throwing an ExpressionChangedAfterItHasBeenCheckedError if you
changed columns information right after the table was initiated.

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