@@ -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