@stemy/ngx-utils 19.9.27 → 19.9.28
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.
|
@@ -3314,6 +3314,7 @@ class AclService {
|
|
|
3314
3314
|
path: `${basePath}/${route.path}`,
|
|
3315
3315
|
page: route.data.page || route.data.id,
|
|
3316
3316
|
label: route.data.name,
|
|
3317
|
+
icon: route.data.icon,
|
|
3317
3318
|
side: route.data.side || `left`,
|
|
3318
3319
|
external: false,
|
|
3319
3320
|
data: route.data
|
|
@@ -3579,6 +3580,10 @@ class BaseHttpService {
|
|
|
3579
3580
|
if (mode instanceof Date) {
|
|
3580
3581
|
return this.caches.expiresAt(mode);
|
|
3581
3582
|
}
|
|
3583
|
+
const num = Number(mode);
|
|
3584
|
+
if (0 < num) {
|
|
3585
|
+
return this.caches.expiresIn(num);
|
|
3586
|
+
}
|
|
3582
3587
|
return mode === false ? this.caches.ignore : this.caches.permanent;
|
|
3583
3588
|
}
|
|
3584
3589
|
url(url) {
|