Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -86,11 +86,11 @@ def process_and_store_bubble_token(url_user_token, org_urn, token_state):
|
|
86 |
logging.info(f"df {len(bubble_posts_df)}")
|
87 |
|
88 |
if bubble_posts_df is not None and not new_state["bubble_posts_df"].empty:
|
89 |
-
logging.info(f"✅ Successfully fetched {len(bubble_posts_df)} posts from Bubble. Sync button will be
|
90 |
button_visible = False
|
91 |
button_interactive = False
|
92 |
else:
|
93 |
-
logging.info("ℹ️ No posts found in Bubble for this organization or DataFrame is empty. Sync button will
|
94 |
# button_visible and button_interactive remain False
|
95 |
except Exception as e:
|
96 |
logging.error(f"❌ Error fetching posts from Bubble: {e}")
|
|
|
86 |
logging.info(f"df {len(bubble_posts_df)}")
|
87 |
|
88 |
if bubble_posts_df is not None and not new_state["bubble_posts_df"].empty:
|
89 |
+
logging.info(f"✅ Successfully fetched {len(bubble_posts_df)} posts from Bubble. Sync button will be disabled.")
|
90 |
button_visible = False
|
91 |
button_interactive = False
|
92 |
else:
|
93 |
+
logging.info("ℹ️ No posts found in Bubble for this organization or DataFrame is empty. Sync button will get visible.")
|
94 |
# button_visible and button_interactive remain False
|
95 |
except Exception as e:
|
96 |
logging.error(f"❌ Error fetching posts from Bubble: {e}")
|