Add dashboard management - edit function

This commit is contained in:
hansi
2025-12-22 22:02:36 +01:00
parent 13385db5ef
commit 3f3ec5097d
3 changed files with 100 additions and 111 deletions

View File

@@ -12,6 +12,19 @@ def get_roles():
return df
def get_groups():
sql = """
select
group_id || ' | ' || group_text as "group"
from
groups
"""
df = get_list(sql)
return df
def get_id(id_text: str):
id = int(id_text.split("|")[0])
if not id: