showing rests strokes if workout only has rest strokes:wq
This commit is contained in:
@@ -1809,7 +1809,11 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
rowdata = dataprep.getsmallrowdata_db(columns,ids=[id],doclean=True,
|
||||
workstrokesonly=workstrokesonly)
|
||||
|
||||
|
||||
if rowdata.empty:
|
||||
rowdata = dataprep.getsmallrowdata_db(columns,ids=[id],doclean=True,
|
||||
workstrokesonly=False)
|
||||
workstrokesonly=False
|
||||
|
||||
try:
|
||||
tests = rowdata[yparam2]
|
||||
except KeyError:
|
||||
@@ -2250,7 +2254,7 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
js_resources = INLINE.render_js()
|
||||
css_resources = INLINE.render_css()
|
||||
|
||||
return [script,div,js_resources,css_resources]
|
||||
return [script,div,js_resources,css_resources,workstrokesonly]
|
||||
|
||||
|
||||
def interactive_bar_chart(id=0,promember=0):
|
||||
|
||||
Reference in New Issue
Block a user