UI: Fixed udated page in inbox notification
This commit is contained in:
parent
ddb23ce322
commit
faba4185ce
@ -133,9 +133,10 @@ export class InboxTableConfigResolver implements Resolve<EntityTableConfig<Notif
|
||||
this.config.getTable().dataSource.pageData$.pipe(take(1)).subscribe(
|
||||
(value) => {
|
||||
if (value.data.length === 1 && this.config.getTable().pageLink.page) {
|
||||
this.config.getTable().pageLink.page--;
|
||||
this.config.getTable().paginator.previousPage();
|
||||
} else {
|
||||
this.config.updateData();
|
||||
}
|
||||
this.config.updateData();
|
||||
}
|
||||
);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user