mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
7 files changed
+581
-538
No files matched your search
@@ -31,6 +31,10 @@ externalPort = 3003
|
||||
localPort = 34203
|
||||
externalPort = 8080
|
||||
|
||||
[[ports]]
|
||||
localPort = 35937
|
||||
externalPort = 8099
|
||||
|
||||
[[ports]]
|
||||
localPort = 38343
|
||||
externalPort = 3000
|
||||
@@ -63,6 +67,10 @@ externalPort = 5173
|
||||
localPort = 44965
|
||||
externalPort = 6800
|
||||
|
||||
[[ports]]
|
||||
localPort = 45031
|
||||
externalPort = 8081
|
||||
|
||||
[workflows]
|
||||
runButton = "Project"
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 265 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 309 KiB |
+284
-267
File diff suppressed because it is too large.
Load diff
+287
-270
File diff suppressed because it is too large.
Load diff
@@ -231,7 +231,8 @@ export default function Dashboard() {
|
||||
queryKey: ["/api/dlc-products/stats", selectedStoreId],
|
||||
queryFn: () => {
|
||||
const params = new URLSearchParams();
|
||||
if (selectedStoreId && user?.role === 'admin') params.append("storeId", selectedStoreId.toString());
|
||||
// Envoyer selectedStoreId pour tous les utilisateurs (le backend gère les permissions)
|
||||
if (selectedStoreId) params.append("storeId", selectedStoreId.toString());
|
||||
return fetch(`/api/dlc-products/stats?${params.toString()}`, {
|
||||
credentials: 'include'
|
||||
}).then(res => res.json());
|
||||
|
||||
Reference in new issue
Block a user