fixed unliking tags on tags created via space models

This commit is contained in:
hannathkadher
2025-03-13 11:04:23 +04:00
parent ef39e9cfa7
commit c6f314e5c4

View File

@ -500,6 +500,13 @@ export class SpaceService {
await this.subSpaceService.unlinkModels(space.subspaces, queryRunner);
}
if (hasTags && space.productAllocations && space.spaceModel) {
await this.spaceProductAllocationService.unlinkModels(
space,
queryRunner,
);
}
if (hasSubspace) {
await this.subSpaceService.modifySubSpace(
updateSpaceDto.subspace,