Merge pull request #223 from SyncrowIOT/fix-secene-issue

add disabled check
This commit is contained in:
faris Aljohari
2025-01-22 05:39:22 -06:00
committed by GitHub
+1
View File
@@ -218,6 +218,7 @@ export class SceneService {
const scenesData = await this.sceneRepository.find({
where: {
space: { uuid: spaceUuid },
disabled: false,
...(showInHomePage ? { showInHomePage } : {}),
},
relations: ['sceneIcon', 'space'],