Skip to content

Commit

Permalink
fixing append elements
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 committed Nov 14, 2024
1 parent f42ce77 commit bd7b06a
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/dispatch/plugins/dispatch_slack/case/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,17 +270,19 @@ def create_action_buttons_message(
)
)

elements.append(
Button(
text="💤 Snooze Alert",
action_id=SignalNotificationActions.snooze,
value=button_metadata,
),
Button(
text="👤 User MFA Challenge",
action_id=CaseNotificationActions.user_mfa,
value=button_metadata,
),
elements.extend(
[
Button(
text="💤 Snooze Alert",
action_id=SignalNotificationActions.snooze,
value=button_metadata,
),
Button(
text="👤 User MFA Challenge",
action_id=CaseNotificationActions.user_mfa,
value=button_metadata,
),
]
)

# we create the signal metadata blocks
Expand Down

0 comments on commit bd7b06a

Please sign in to comment.