add load from select save
This commit is contained in:
parent
f721517f25
commit
17030c72ce
10 changed files with 229 additions and 53 deletions
|
|
@ -129,6 +129,10 @@ export class RecipeService {
|
|||
return 'coffeethai02_580.json';
|
||||
}
|
||||
|
||||
setCurrentFile(filename: string) {
|
||||
localStorage.setItem('currentRecipeFile', filename);
|
||||
}
|
||||
|
||||
getCurrentCountry(): string {
|
||||
const currentRecipeCountry = localStorage.getItem('currentRecipeCountry');
|
||||
if (currentRecipeCountry) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue