Settings: go to map after changes to map display options
All checks were successful
/ build (push) Successful in 1m4s
All checks were successful
/ build (push) Successful in 1m4s
This commit is contained in:
parent
b9d1bb1116
commit
7d29b89f65
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
||||||
<div>
|
<div>
|
||||||
<mat-button-toggle-group #background="matButtonToggleGroup"
|
<mat-button-toggle-group #background="matButtonToggleGroup"
|
||||||
[value]="conf.background || conf.map?.background"
|
[value]="conf.background || conf.map?.background"
|
||||||
(change)="configService.setUserPref('background', background.value)"
|
(change)="configService.setUserPref('background', background.value) ; router.navigate(['/map'])"
|
||||||
>
|
>
|
||||||
<mat-button-toggle
|
<mat-button-toggle
|
||||||
*ngFor="let bms of conf.bootstrap.baseMapStyles.embedded"
|
*ngFor="let bms of conf.bootstrap.baseMapStyles.embedded"
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
<mat-label>Types of zones displayed on the map</mat-label>
|
<mat-label>Types of zones displayed on the map</mat-label>
|
||||||
<div class="settings">
|
<div class="settings">
|
||||||
<mat-checkbox *ngFor="let item of conf.showZones | keyvalue" [checked]="item.value"
|
<mat-checkbox *ngFor="let item of conf.showZones | keyvalue" [checked]="item.value"
|
||||||
(change)="configService.setUserPrefValue('showZones', item.key, $event.checked)">
|
(change)="configService.setUserPrefValue('showZones', item.key, $event.checked) ; router.navigate(['/map'])">
|
||||||
{{ item.key }}
|
{{ item.key }}
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue