Remove type filter from getAllIcons method

This commit is contained in:
faris Aljohari
2024-12-01 03:24:22 -06:00
parent 14d6f7283f
commit 88615348c9
+1 -3
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(