Fix issue where creating an empty workout would show a blank set 'None x None Kg'
This commit is contained in:
@@ -71,6 +71,7 @@ class Calendar:
|
||||
'sets': []
|
||||
}
|
||||
|
||||
if row['topset_id']:
|
||||
workouts_by_date[workout_date_str][workout_id]['sets'].append({
|
||||
'repetitions': row['repetitions'],
|
||||
'weight': row['weight'],
|
||||
|
||||
Reference in New Issue
Block a user