mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
add services
This commit is contained in:
@@ -9,7 +9,6 @@ export class ConfigurationService {
|
||||
private constructor(){
|
||||
this.observers = new Map<string, BehaviorSubject<any>>();
|
||||
}
|
||||
|
||||
private emitChange(key: string){
|
||||
if(this.observers.has(key)){
|
||||
const val = this.get(key);
|
||||
|
||||
@@ -22,6 +22,7 @@ export class I18nService {
|
||||
if(!I18nService.instance){ I18nService.instance = new I18nService(); }
|
||||
return I18nService.instance;
|
||||
}
|
||||
|
||||
private constructor(){
|
||||
this.configService = ConfigurationService.getInstance();
|
||||
this.cache = new Map<string, string>();
|
||||
|
||||
Reference in New Issue
Block a user