Merge remote-tracking branch 'origin/main-dev' into feature/layout-comparison-version

This commit is contained in:
2025-10-14 11:13:27 +05:30
2 changed files with 7 additions and 7 deletions

View File

@@ -28,11 +28,11 @@ function GroupControls() {
useEffect(() => {
if (!projectId || !selectedVersion) return;
getAssetGroupsApi(projectId, selectedVersion.versionId).then((data) => {
if (data && data.length > 0) {
setGroups(data);
}
});
// getAssetGroupsApi(projectId, selectedVersion.versionId).then((data) => {
// if (data && data.length > 0) {
// setGroups(data);
// }
// });
}, [projectId, selectedVersion]);
useEffect(() => {

View File

@@ -40,7 +40,7 @@ function Products() {
}, [comparisonScene, layout]);
useEffect(() => {
if (!selectedVersion || !simulationSocket || selectedProduct.productUuid !== "" || !projectId) return;
if (!selectedVersion || !simulationSocket || !projectId) return;
getAllProductsApi(projectId || "", selectedVersion.versionId)
.then((data) => {
if (data && data.length === 0) {
@@ -112,7 +112,7 @@ function Products() {
.catch((err) => {
console.error(err);
});
}, [selectedVersion?.versionId, simulationSocket, selectedProduct, projectId, userId, organization]);
}, [selectedVersion?.versionId, simulationSocket, projectId, userId, organization]);
useEffect(() => {
if (selectedProduct.productUuid) {