Compare commits

...

2 Commits

Author SHA1 Message Date
c2a6012063 Merge pull request #261 from SyncrowIOT/bugfix/set-space-null-for-tag
on moving a tag from subspace, or subspace to subspace, set space is null
2025-02-19 13:08:23 +04:00
4adb1e683d on moving a space from subspace, or subspace to subspace, set space is null 2025-02-19 13:06:00 +04:00

View File

@ -84,7 +84,7 @@ export class SubspaceDeviceService {
if (device.tag?.subspace?.uuid !== subspace.uuid) {
await this.tagRepository.update(
{ uuid: device.tag.uuid },
{ subspace },
{ subspace, space: null },
);
}