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