why are tags admin only

This commit is contained in:
Amber 2025-06-13 20:36:03 +01:00
parent ce31244143
commit 27636a5ce1
No known key found for this signature in database
GPG key ID: 81E4B6CCB9561611

View file

@ -12,15 +12,15 @@ def get_buttons(user: User, current: str = "dashboard"):
**({"style": "primary"} if current != "dashboard" else {}),
}
)
if user.admin:
buttons.append(
{
"type": "button",
"text": {"type": "plain_text", "text": "Tags", "emoji": True},
"action_id": "tags",
**({"style": "primary"} if current != "tags" else {}),
}
)
# if user.admin:
buttons.append(
{
"type": "button",
"text": {"type": "plain_text", "text": "Tags", "emoji": True},
"action_id": "tags",
**({"style": "primary"} if current != "tags" else {}),
}
)
buttons.append(
{