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({
|
const scenesData = await this.sceneRepository.find({
|
||||||
where: {
|
where: {
|
||||||
space: { uuid: spaceUuid },
|
space: { uuid: spaceUuid },
|
||||||
|
disabled: false,
|
||||||
...(showInHomePage ? { showInHomePage } : {}),
|
...(showInHomePage ? { showInHomePage } : {}),
|
||||||
},
|
},
|
||||||
relations: ['sceneIcon', 'space'],
|
relations: ['sceneIcon', 'space'],
|
||||||
|
Reference in New Issue
Block a user