mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-17 03:05:13 +00:00
Include space relation in scene query
This commit is contained in:
@ -177,7 +177,7 @@ export class SceneService {
|
|||||||
space: { uuid: spaceUuid },
|
space: { uuid: spaceUuid },
|
||||||
...(showInHomePage ? { showInHomePage } : {}),
|
...(showInHomePage ? { showInHomePage } : {}),
|
||||||
},
|
},
|
||||||
relations: ['sceneIcon'],
|
relations: ['sceneIcon', 'space'],
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!scenesData.length) {
|
if (!scenesData.length) {
|
||||||
|
Reference in New Issue
Block a user