mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-17 03:05:13 +00:00
Merge branch 'dev'
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user