devtools681420 commited on
Commit
2561797
·
1 Parent(s): 4e775fd

feat: Add "Recebimento" dashboard page with data visualization, session management, and a loading screen.

Browse files
Files changed (1) hide show
  1. pages/rec.py +3 -2
pages/rec.py CHANGED
@@ -238,12 +238,13 @@ setTimeout(next, 300);
238
  """
239
 
240
  loading_placeholder = st.empty()
241
- loading_placeholder.components.v1.html(loading_html, height=0)
 
 
242
 
243
  df_recebimento = read_ws("recebimento")
244
  df_rec_dados = read_ws("rec_dados")
245
 
246
- # Fecha o loading ao terminar
247
  loading_placeholder.empty()
248
 
249
 
 
238
  """
239
 
240
  loading_placeholder = st.empty()
241
+
242
+ with loading_placeholder:
243
+ components.html(loading_html, height=0)
244
 
245
  df_recebimento = read_ws("recebimento")
246
  df_rec_dados = read_ws("rec_dados")
247
 
 
248
  loading_placeholder.empty()
249
 
250