mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 20:34:53 +00:00
Merge branch 'dev'
This commit is contained in:
@ -385,9 +385,7 @@ export class SceneService {
|
|||||||
|
|
||||||
async getAllIcons() {
|
async getAllIcons() {
|
||||||
try {
|
try {
|
||||||
const icons = await this.sceneIconRepository.find({
|
const icons = await this.sceneIconRepository.find();
|
||||||
where: { iconType: SceneIconType.Other },
|
|
||||||
});
|
|
||||||
|
|
||||||
// Remove duplicates based on 'icon' property
|
// Remove duplicates based on 'icon' property
|
||||||
const uniqueIcons = icons.filter(
|
const uniqueIcons = icons.filter(
|
||||||
|
|||||||
Reference in New Issue
Block a user