Merge pull request #164 from SyncrowIOT/return-defualt-scene-icon

Remove type filter from getAllIcons method
This commit is contained in:
faris Aljohari
2024-12-01 03:25:28 -06:00
committed by GitHub

View File

@ -385,9 +385,7 @@ export class SceneService {
async getAllIcons() {
try {
const icons = await this.sceneIconRepository.find({
where: { iconType: SceneIconType.Other },
});
const icons = await this.sceneIconRepository.find();
// Remove duplicates based on 'icon' property
const uniqueIcons = icons.filter(