mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
Merge pull request #311 from SyncrowIOT/dev
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user