mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 20:44:53 +00:00
fixed showInHomePage
This commit is contained in:
@ -172,7 +172,7 @@ export class SceneService {
|
|||||||
const scenesData = await this.sceneRepository.find({
|
const scenesData = await this.sceneRepository.find({
|
||||||
where: {
|
where: {
|
||||||
spaceUuid,
|
spaceUuid,
|
||||||
...(showInHomePage !== undefined ? { showInHomePage } : {}),
|
...(showInHomePage ? { showInHomePage } : {}),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user