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