@trudb/tru-common-lib 0.2.103 → 0.2.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5380,6 +5380,7 @@ class TruCardColumn {
|
|
|
5380
5380
|
}));
|
|
5381
5381
|
};
|
|
5382
5382
|
onSearch = (setupQuery) => {
|
|
5383
|
+
this.cards = [];
|
|
5383
5384
|
this.isBusy = true;
|
|
5384
5385
|
this.busyMessage = 'Searching for ' + this.childTablePluralLabel + '...';
|
|
5385
5386
|
let joins = [];
|
|
@@ -5553,7 +5554,7 @@ class TruCardColumn {
|
|
|
5553
5554
|
e.preventDefault();
|
|
5554
5555
|
var columnElement = this.portal.nativeElement.querySelectorAll('.tru-card-portal-columns')[0];
|
|
5555
5556
|
localStorage.setItem('scroll_position' + this.uniqueId, columnElement.scrollLeft);
|
|
5556
|
-
this.appEnviroment.onRevertComplete$.pipe(first()).subscribe(() => {
|
|
5557
|
+
this.appEnviroment.onRevertComplete$.pipe(skip(1)).pipe(first()).subscribe(() => {
|
|
5557
5558
|
this.portal.nativeElement.classList.remove('tru-card-portal-disabled');
|
|
5558
5559
|
this.updateItemsSource(this.cards, true);
|
|
5559
5560
|
this.changeDetectorRef.detectChanges();
|
|
@@ -5565,7 +5566,7 @@ class TruCardColumn {
|
|
|
5565
5566
|
e.preventDefault();
|
|
5566
5567
|
var columnElement = this.portal.nativeElement.querySelectorAll('.tru-card-portal-columns')[0];
|
|
5567
5568
|
localStorage.setItem('scroll_position' + this.uniqueId, columnElement.scrollLeft);
|
|
5568
|
-
this.appEnviroment.onRevertComplete$.pipe(first()).subscribe(() => {
|
|
5569
|
+
this.appEnviroment.onRevertComplete$.pipe(skip(1)).pipe(first()).subscribe(() => {
|
|
5569
5570
|
this.portal.nativeElement.classList.remove('tru-card-portal-disabled');
|
|
5570
5571
|
this.updateItemsSource(this.cards, true);
|
|
5571
5572
|
this.changeDetectorRef.detectChanges();
|