Merge pull request #311 from SyncrowIOT/dev

This commit is contained in:
hannathkadher
2025-03-13 13:56:50 +04:00
committed by GitHub

View File

@ -224,7 +224,7 @@ export class SpaceModelService {
);
}
if (dto.subspaceModels) {
if (dto.subspaceModels?.length > 0) {
modifiedSubspaces =
await this.subSpaceModelService.modifySubspaceModels(
dto.subspaceModels,
@ -235,7 +235,7 @@ export class SpaceModelService {
);
}
if (dto.tags) {
if (dto.tags?.length) {
modifiedProductAllocations =
await this.spaceModelProductAllocationService.updateProductAllocations(
dto.tags,