monkey-front-core 0.0.360 → 0.0.362
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.
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +5 -1
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +8 -1
- package/fesm2015/monkey-front-core.mjs +8 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +11 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +1 -36
- package/monkey-front-core-0.0.362.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.360.tgz +0 -0
|
@@ -3637,6 +3637,13 @@ class MonkeyEcxTokenStorageService {
|
|
|
3637
3637
|
};
|
|
3638
3638
|
if (username) {
|
|
3639
3639
|
data = await store.select(select({ username })).pipe(take(1)).toPromise();
|
|
3640
|
+
if (!data?.program) {
|
|
3641
|
+
const program = localStorage.getItem('program');
|
|
3642
|
+
data = {
|
|
3643
|
+
...data,
|
|
3644
|
+
program
|
|
3645
|
+
};
|
|
3646
|
+
}
|
|
3640
3647
|
}
|
|
3641
3648
|
const config = await monkeyecxConfigService.config()
|
|
3642
3649
|
.pipe(take(1)).toPromise();
|
|
@@ -4582,8 +4589,12 @@ class MonkeyEcxPaginationService {
|
|
|
4582
4589
|
};
|
|
4583
4590
|
}
|
|
4584
4591
|
execute(type, name = 'main') {
|
|
4592
|
+
console.log('core => execute pagination');
|
|
4585
4593
|
const { callbacks } = this;
|
|
4594
|
+
console.log(callbacks);
|
|
4595
|
+
console.log(type, name);
|
|
4586
4596
|
const callback = callbacks?.[name];
|
|
4597
|
+
console.log(callback);
|
|
4587
4598
|
if (callback)
|
|
4588
4599
|
callback(type);
|
|
4589
4600
|
}
|