@trudb/tru-common-lib 0.2.103 → 0.2.104
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.
|
@@ -5553,7 +5553,7 @@ class TruCardColumn {
|
|
|
5553
5553
|
e.preventDefault();
|
|
5554
5554
|
var columnElement = this.portal.nativeElement.querySelectorAll('.tru-card-portal-columns')[0];
|
|
5555
5555
|
localStorage.setItem('scroll_position' + this.uniqueId, columnElement.scrollLeft);
|
|
5556
|
-
this.appEnviroment.onRevertComplete$.pipe(first()).subscribe(() => {
|
|
5556
|
+
this.appEnviroment.onRevertComplete$.pipe(skip(1)).pipe(first()).subscribe(() => {
|
|
5557
5557
|
this.portal.nativeElement.classList.remove('tru-card-portal-disabled');
|
|
5558
5558
|
this.updateItemsSource(this.cards, true);
|
|
5559
5559
|
this.changeDetectorRef.detectChanges();
|
|
@@ -5565,7 +5565,7 @@ class TruCardColumn {
|
|
|
5565
5565
|
e.preventDefault();
|
|
5566
5566
|
var columnElement = this.portal.nativeElement.querySelectorAll('.tru-card-portal-columns')[0];
|
|
5567
5567
|
localStorage.setItem('scroll_position' + this.uniqueId, columnElement.scrollLeft);
|
|
5568
|
-
this.appEnviroment.onRevertComplete$.pipe(first()).subscribe(() => {
|
|
5568
|
+
this.appEnviroment.onRevertComplete$.pipe(skip(1)).pipe(first()).subscribe(() => {
|
|
5569
5569
|
this.portal.nativeElement.classList.remove('tru-card-portal-disabled');
|
|
5570
5570
|
this.updateItemsSource(this.cards, true);
|
|
5571
5571
|
this.changeDetectorRef.detectChanges();
|