mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
mgr/dashboard: if null tablecontext then create empty one
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
This commit is contained in:
parent
27f40514eb
commit
4060061014
@ -366,6 +366,9 @@ export class RbdListComponent extends ListWithDetails implements OnInit {
|
||||
if (context !== null) {
|
||||
this.tableContext = context;
|
||||
}
|
||||
if(this.tableContext == null) {
|
||||
this.tableContext = new CdTableFetchDataContext(() => {});
|
||||
}
|
||||
return this.rbdService.list(this.tableContext.toParams());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user