We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c30de09 commit a85503dCopy full SHA for a85503d
js/App.js
@@ -79,6 +79,9 @@ export class App extends Component {
79
80
render () {
81
let entries = this.state.entries.filter(entry=> {
82
+ if (!entry.level) {
83
+ return true;
84
+ }
85
return this.state.levels[entry.level];
86
});
87
js/Providers/LogFile.js
@@ -10,7 +10,7 @@ export class LogFile extends LogProvider {
10
async loadEntries (offset, count = 50) {
11
const start = this.lines.length - offset;
12
const end = Math.max(start - count - 2, 0);
13
- const entries = this.lines.slice(end, start).reverse().map(JSON.parse)
+ const entries = this.lines.slice(end, start).reverse().map(JSON.parse);
14
return {data: entries};
15
}
16
0 commit comments