mirror of
https://github.com/System-End/nephthys.git
synced 2026-04-19 16:28:16 +00:00
minor change
This commit is contained in:
parent
da7faa4dbe
commit
d5cc163883
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ async def create_category_tag_view(
|
|||
await create_category_tag_view_callback(ack, body, client)
|
||||
|
||||
|
||||
@app.action(re.compile(r"^edit-category-tag-\d+$"))
|
||||
@app.action("edit-category-tag")
|
||||
async def edit_category_tag(
|
||||
ack: AsyncAck, body: Dict[str, Any], client: AsyncWebClient
|
||||
):
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ async def get_category_tags_view(user: User | None) -> dict:
|
|||
text=text,
|
||||
accessory=Button(
|
||||
text=":pencil2: Edit",
|
||||
action_id=f"edit-category-tag-{tag.id}",
|
||||
action_id="edit-category-tag",
|
||||
value=str(tag.id),
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue