Spaces:
Sleeping
Sleeping
Commit
·
627c2c0
1
Parent(s):
b50af63
Update pages/2_Saved_Recipes.py
Browse files- pages/2_Saved_Recipes.py +1 -1
pages/2_Saved_Recipes.py
CHANGED
@@ -36,7 +36,7 @@ elif user_sort == 'Random':
|
|
36 |
for recipe in recipes_filtered:
|
37 |
with st.expander(recipe['name']):
|
38 |
st.markdown(recipe['md'])
|
39 |
-
if st.session_state.admin
|
40 |
st.write('')
|
41 |
st.write(recipe['file'])
|
42 |
with st.button("Delete"):
|
|
|
36 |
for recipe in recipes_filtered:
|
37 |
with st.expander(recipe['name']):
|
38 |
st.markdown(recipe['md'])
|
39 |
+
if st.session_state.admin == True:
|
40 |
st.write('')
|
41 |
st.write(recipe['file'])
|
42 |
with st.button("Delete"):
|