mirror of
https://github.com/MikroWizard/mikrofront.git
synced 2025-12-10 12:09:29 +00:00
monitoring bugs and devices list pagination fix
This commit is contained in:
parent
6cc1060e36
commit
cfbffe1f64
7 changed files with 131 additions and 28 deletions
|
|
@ -416,8 +416,6 @@ export class DevicesComponent implements OnInit, OnDestroy {
|
|||
var data = {
|
||||
group_id: this.selected_group,
|
||||
search: false,
|
||||
page: this.paging.page,
|
||||
size: this.paging.pageSize,
|
||||
};
|
||||
|
||||
_self.data_provider.get_dev_list(data).then((res) => {
|
||||
|
|
@ -451,7 +449,7 @@ export class DevicesComponent implements OnInit, OnDestroy {
|
|||
// _self.loading = false;
|
||||
// });
|
||||
//we don't want to reload table if user is selected devices from list
|
||||
if (_self.Selectedrows.length < 1) _self.initGridTable();
|
||||
if (_self.Selectedrows && _self.Selectedrows.length < 1) _self.initGridTable();
|
||||
}, 10000);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue