@theseam/ui-common 1.0.0-beta.7 → 1.0.0-beta.8
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.
|
@@ -3144,13 +3144,17 @@ class DatatableComponent {
|
|
|
3144
3144
|
return of(undefined);
|
|
3145
3145
|
}
|
|
3146
3146
|
return from(waitOnConditionAsync(() => this._preferences.isLoaded(key))).pipe(switchMap(() => this._columnsAlterationsManager.changes.pipe(startWith(undefined), tap(() => {
|
|
3147
|
-
console.log(
|
|
3147
|
+
// console.log(
|
|
3148
|
+
// '%cSaving columns alterations to preferences',
|
|
3149
|
+
// 'color: blue',
|
|
3150
|
+
// this._columnsAlterationsManager.get(),
|
|
3151
|
+
// )
|
|
3148
3152
|
this._preferences.setAlterations(key, this._columnsAlterationsManager.get());
|
|
3149
3153
|
}))));
|
|
3150
3154
|
}), takeUntil(this._ngUnsubscribe))
|
|
3151
3155
|
.subscribe();
|
|
3152
3156
|
const applyPrefs = (cols) => this._columnsAlterationsManager.changes.pipe(startWith(undefined), map(() => {
|
|
3153
|
-
console.log('%cApplying columns alterations', 'color: blue', cols)
|
|
3157
|
+
// console.log('%cApplying columns alterations', 'color: blue', cols)
|
|
3154
3158
|
this._columnsAlterationsManager.apply(cols, this);
|
|
3155
3159
|
return cols;
|
|
3156
3160
|
}));
|
|
@@ -3175,7 +3179,11 @@ class DatatableComponent {
|
|
|
3175
3179
|
console.warn(e);
|
|
3176
3180
|
}
|
|
3177
3181
|
}
|
|
3178
|
-
console.log(
|
|
3182
|
+
// console.log(
|
|
3183
|
+
// '%cSetting columns alterations from preferences',
|
|
3184
|
+
// 'color: blue',
|
|
3185
|
+
// alterations,
|
|
3186
|
+
// )
|
|
3179
3187
|
this._columnsAlterationsManager.add(alterations);
|
|
3180
3188
|
}));
|
|
3181
3189
|
}), takeUntil(this._ngUnsubscribe))
|