Skip to content

Commit f2762d7

Browse files
committed
hide more info button
1 parent cc320ab commit f2762d7

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

views/app_home.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ def get_home(user_id: str, client: WebClient):
9393
"action_id": "edit-event",
9494
}
9595
)
96-
if event["fields"].get("Approved", False):
97-
buttons.append(
98-
{
99-
"type": "button",
100-
"text": {"type": "plain_text", "text": "More Info", "emoji": True},
101-
"value": "more-info",
102-
"action_id": "more-info",
103-
}
104-
)
96+
# if event["fields"].get("Approved", False):
97+
# buttons.append(
98+
# {
99+
# "type": "button",
100+
# "text": {"type": "plain_text", "text": "More Info", "emoji": True},
101+
# "value": "more-info",
102+
# "action_id": "more-info",
103+
# }
104+
# )
105105
current_events_blocks.append({"type": "actions", "elements": [*buttons]})
106106

107107
upcoming_events_blocks = []
@@ -176,14 +176,14 @@ def get_home(user_id: str, client: WebClient):
176176
}
177177
)
178178
if event["fields"].get("Approved", False):
179-
buttons.append(
180-
{
181-
"type": "button",
182-
"text": {"type": "plain_text", "text": "More Info", "emoji": True},
183-
"value": "more-info",
184-
"action_id": "more-info",
185-
}
186-
)
179+
# buttons.append(
180+
# {
181+
# "type": "button",
182+
# "text": {"type": "plain_text", "text": "More Info", "emoji": True},
183+
# "value": "more-info",
184+
# "action_id": "more-info",
185+
# }
186+
# )
187187
buttons.append(
188188
{
189189
"type": "button",

0 commit comments

Comments
 (0)