mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-09 11:31:15 +00:00
Update mapsettings.service.ts
This commit is contained in:
parent
e863c1f6e7
commit
4a8be81534
@ -14,7 +14,7 @@ export class MapSettingsService {
|
||||
public isLayerNumberVisible: boolean = false;
|
||||
public logConsoleSubject = new Subject<boolean>();
|
||||
public mapRenderedEmitter = new EventEmitter<boolean>();
|
||||
public openReadme: boolean = true;
|
||||
public openReadme: boolean;
|
||||
public showInterfaceLabels: boolean = true;
|
||||
public integrateLinkLabelsToLinks: boolean = true;
|
||||
|
||||
@ -29,6 +29,12 @@ export class MapSettingsService {
|
||||
} else {
|
||||
localStorage.setItem('symbolScaling', 'true');
|
||||
}
|
||||
|
||||
if (localStorage.getItem('openReadme')) {
|
||||
this.openReadme = localStorage.getItem('openReadme') === 'true' ? true : false;
|
||||
} else {
|
||||
localStorage.setItem('openReadme', 'false');
|
||||
}
|
||||
}
|
||||
|
||||
public getSymbolScaling(): boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user