diff --git a/utils/data/service/service.ts b/utils/data/service/service.ts index ffb17cb..87e2f11 100644 --- a/utils/data/service/service.ts +++ b/utils/data/service/service.ts @@ -314,11 +314,7 @@ export class DataService> { FROM ${dataTableName} ` } - if (filter) { - query += ` WHERE ${this.idColumn} LIKE '${filter}%';` - } else { - query += ";" - } + const colorMap = this.mapColors(await this.runQuery(query)) return { colorMap,