CT-31: Added save to force.component.ts on modification to allow for page reloading #11
@ -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