This commit is contained in:
@@ -8,7 +8,7 @@ from enums import CounterType
|
||||
|
||||
@dialog("Add New Counter", icon=":material/add_box:")
|
||||
def _add_counter():
|
||||
colors = crud.get_colors(1)
|
||||
colors = crud.get_colors()
|
||||
with st.form(key="add_counter", border=False, clear_on_submit=True):
|
||||
title = st.text_input("Title:", key="new_counter_title")
|
||||
counter_type_name = st.selectbox("Type", options=[e.name for e in CounterType], key="new_counter_type")
|
||||
|
||||
Reference in New Issue
Block a user