fixed showInHomePage

This commit is contained in:
hannathkadher
2024-11-05 13:04:50 +04:00
parent b572143f04
commit a39c28eeda

View File

@ -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 } : {}),
}, },
}); });