|
|
@ -243,7 +243,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
.subscribe((filters) => { |
|
|
.subscribe((filters) => { |
|
|
this.activeFilters = filters; |
|
|
this.activeFilters = filters; |
|
|
|
|
|
|
|
|
this.loadData(); |
|
|
this.reloadData({ pageIndex: 0 }); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
addIcons({ |
|
|
addIcons({ |
|
|
@ -293,7 +293,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
.deleteAssetProfile({ dataSource, symbol }) |
|
|
.deleteAssetProfile({ dataSource, symbol }) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe(() => { |
|
|
.subscribe(() => { |
|
|
this.loadData(); |
|
|
this.reloadData(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -306,7 +306,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
) |
|
|
) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe(() => { |
|
|
.subscribe(() => { |
|
|
this.loadData(); |
|
|
this.reloadData(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -453,11 +453,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
if (newAssetProfileIdentifier) { |
|
|
if (newAssetProfileIdentifier) { |
|
|
this.onOpenAssetProfileDialog(newAssetProfileIdentifier); |
|
|
this.onOpenAssetProfileDialog(newAssetProfileIdentifier); |
|
|
} else { |
|
|
} else { |
|
|
this.loadData({ |
|
|
this.reloadData(); |
|
|
pageIndex: this.paginator().pageIndex, |
|
|
|
|
|
sortColumn: this.sort().active, |
|
|
|
|
|
sortDirection: this.sort().direction |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.router.navigate(['.'], { relativeTo: this.route }); |
|
|
this.router.navigate(['.'], { relativeTo: this.route }); |
|
|
} |
|
|
} |
|
|
@ -511,4 +507,14 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private reloadData({ |
|
|
|
|
|
pageIndex = this.paginator().pageIndex |
|
|
|
|
|
}: { pageIndex?: number } = {}) { |
|
|
|
|
|
this.loadData({ |
|
|
|
|
|
pageIndex, |
|
|
|
|
|
sortColumn: this.sort().active, |
|
|
|
|
|
sortDirection: this.sort().direction |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|