diff --git a/CHANGELOG.md b/CHANGELOG.md index ad89b3d57..3e876edc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## v1.8.0 +### Bug Fixes + +1. [#5345](https://github.com/influxdata/chronograf/pull/5345): Log Viewer uses a default if the mapped severity doesn't exist + ## v1.7.17 [2020-01-08] ### Bug Fixes diff --git a/ui/jest.config.js b/ui/jest.config.js index d4f89f118..50e0b961f 100644 --- a/ui/jest.config.js +++ b/ui/jest.config.js @@ -25,14 +25,5 @@ module.exports = { displayName: 'eslint', testMatch: ['/test/**/*.test.js'], }, - { - runner: 'jest-runner-tslint', - displayName: 'tslint', - moduleFileExtensions: ['ts', 'tsx'], - testMatch: [ - '/test/**/*.test.ts', - '/test/**/*.test.tsx', - ], - }, ], } diff --git a/ui/src/logs/components/LogsTable.tsx b/ui/src/logs/components/LogsTable.tsx index be5661a83..5040b6a8a 100644 --- a/ui/src/logs/components/LogsTable.tsx +++ b/ui/src/logs/components/LogsTable.tsx @@ -481,7 +481,9 @@ class LogsTable extends Component { if (column === 'severity' && isDotNeeded) { title = value - const colorLevel = severityLevelColors.find(lc => lc.level === value) + const colorLevel = + severityLevelColors.find(lc => lc.level === value) || + severityLevelColors[0] formattedValue = ( <>