@@ -93,15 +93,15 @@ def get_home(user_id: str, client: WebClient):
93
93
"action_id" : "edit-event" ,
94
94
}
95
95
)
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
+ # )
105
105
current_events_blocks .append ({"type" : "actions" , "elements" : [* buttons ]})
106
106
107
107
upcoming_events_blocks = []
@@ -176,14 +176,14 @@ def get_home(user_id: str, client: WebClient):
176
176
}
177
177
)
178
178
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
+ # )
187
187
buttons .append (
188
188
{
189
189
"type" : "button" ,
0 commit comments