mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 18:56:22 +00:00
add disabled check
This commit is contained in:
@ -218,6 +218,7 @@ export class SceneService {
|
||||
const scenesData = await this.sceneRepository.find({
|
||||
where: {
|
||||
space: { uuid: spaceUuid },
|
||||
disabled: false,
|
||||
...(showInHomePage ? { showInHomePage } : {}),
|
||||
},
|
||||
relations: ['sceneIcon', 'space'],
|
||||
|
Reference in New Issue
Block a user