From 1b6e9ad655454be9ee197cd3030d2932c8c03a13 Mon Sep 17 00:00:00 2001 From: Yash Kolekar Date: Wed, 3 Jul 2024 10:12:32 +0530 Subject: [PATCH] save to local whenever workoutExercises changes --- src/routes/workouts/manage/workoutRunes.svelte.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/workouts/manage/workoutRunes.svelte.ts b/src/routes/workouts/manage/workoutRunes.svelte.ts index 23276d47..7717b3fd 100644 --- a/src/routes/workouts/manage/workoutRunes.svelte.ts +++ b/src/routes/workouts/manage/workoutRunes.svelte.ts @@ -39,6 +39,7 @@ function createWorkoutRunes() { }, set workoutExercises(value) { workoutExercises = value; + saveStoresToLocalStorage(); }, saveStoresToLocalStorage, resetStores,