Browse Source

arreglos varios

Erwin Jacimino 3 tháng trước cách đây
mục cha
commit
193d2b66ab

+ 5 - 2
fudo/fudo.py

@@ -215,8 +215,11 @@ async def get_all_indexed_products():
                     continue
                 
                 for product in data:
-                    if product["attributes"]["enableQrMenu"]:
-                        products[product['id']] = product
+                    if product["attributes"]["active"]:
+                        if product["attributes"]["enableQrMenu"]:
+                            products[product['id']] = product
+                        else:
+                            logger.warning(f"Product {product['id']}:{product['attributes']['name']} is not QR-enabled. enableQrMenu={product['attributes']['enableQrMenu']}")
             
             # Lógica de parada
             if empty_page_found:

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
public/main/assets/index-A5yVUWR3.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
public/main/assets/index-CRUsByxL.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 16 - 0
public/main/assets/index-DF6ujk0z.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 16
public/main/assets/index-Mvh6wKvT.js


+ 2 - 2
public/main/index.html

@@ -17,8 +17,8 @@
       href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
       rel="stylesheet"
     />
-  <script type="module" crossorigin src="/express/assets/index-Mvh6wKvT.js"></script>
-  <link rel="stylesheet" crossorigin href="/express/assets/index-A5yVUWR3.css">
+  <script type="module" crossorigin src="/express/assets/index-DF6ujk0z.js"></script>
+  <link rel="stylesheet" crossorigin href="/express/assets/index-CRUsByxL.css">
 </head>
   <body>
     <div id="root"></div>

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác