Merge pull request 'CT-31: Added save to force.component.ts on modification to allow for page reloading' (#11) from bugfix/CT-31/save-forcelist-on-modifictaion into master
Reviewed-on: mitch/crusade-tracker#11
This commit is contained in:
commit
3d94c3f2ec
@ -1,8 +1,3 @@
|
||||
<div class="text-danger">
|
||||
<h1>RELOADING WILL RESET DATA</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="desktop-container" *ngIf="!isMobileResolution; else mobileContainer">
|
||||
<jhi-force-desktop></jhi-force-desktop>
|
||||
</div>
|
||||
|
@ -138,6 +138,7 @@ export class ForceComponent implements OnInit {
|
||||
break;
|
||||
}
|
||||
}
|
||||
localStorage.setItem('forceAddedListStored', JSON.stringify(this.forceList));
|
||||
}
|
||||
|
||||
async saveList(): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user