CT-31: Added save to force.component.ts on modification to allow for page reloading

This commit is contained in:
mitch 2022-03-23 08:21:54 -04:00
parent e98f62aa55
commit 59e8f363c9
2 changed files with 1 additions and 5 deletions

View File

@ -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>

View File

@ -138,6 +138,7 @@ export class ForceComponent implements OnInit {
break;
}
}
localStorage.setItem('forceAddedListStored', JSON.stringify(this.forceList));
}
async saveList(): Promise<void> {