merge angular-17 into dev to upgrade from Angular v16 to v17

This commit is contained in:
gkbishnoi07
2025-06-05 15:51:43 +02:00
committed by Adam Saghy
parent 94e37d129c
commit 1d6b6fd743
65 changed files with 4565 additions and 4571 deletions
@@ -10,7 +10,7 @@ import { environment } from '../../../environments/environment';
import { SettingsService } from 'app/settings/settings.service';
/** Http request (default) options headers. */
const httpOptions = {
const httpOptions: { headers: { [key: string]: string } } = {
headers: {
'Fineract-Platform-TenantId': environment.fineractPlatformTenantId
}
+2 -1
View File
@@ -107,7 +107,8 @@ export class HttpCacheService {
*/
setPersistence(persistence?: 'local' | 'session') {
this.cleanCache();
this.storage = persistence === 'local' || persistence === 'session' ? window[persistence + 'Storage'] : null;
this.storage =
persistence === 'local' ? window.localStorage : persistence === 'session' ? window.sessionStorage : null;
this.loadCacheData();
}