Skip to content

Commit

Permalink
fix monovariate color bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Jul 3, 2024
1 parent 420e739 commit 00dfda0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions utils/data/service/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,7 @@ export class DataService<DataT extends Record<string, any>> {
FROM ${dataTableName}
`
}
if (filter) {
query += ` WHERE ${this.idColumn} LIKE '${filter}%';`
} else {
query += ";"
}

const colorMap = this.mapColors(await this.runQuery(query))
return {
colorMap,
Expand Down

0 comments on commit 00dfda0

Please sign in to comment.