Skip to content

Commit

Permalink
Fixed performance tab breaking for requests with performance log data.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsgoingd committed Nov 21, 2020
1 parent acc03b7 commit 4a533e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Tabs/Performance/PerformanceLog.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="performance-log">
<details-table title="Performance issues" icon="alert-triangle" :badge="issues.length" :columns="['Message']" :items="issues" :filter="performanceLogFilter" filter-example="query failed file:Controller.php time:>13:08:29" v-if="issues.length">
<details-table title="Performance issues" icon="alert-triangle" :badge="issues.length" :columns="['Message']" :items="issues" :filter="performanceLogFilter" filter-example="query failed file:Controller.php time:>13:08:29" :no-table-head="true" v-if="issues.length">
<template slot="body" slot-scope="{ items }">
<tr v-for="message, index in items" class="log-row" :key="`${$request.id}-${index}`">
<td>
Expand Down Expand Up @@ -47,9 +47,6 @@ import StackTrace from '../../UI/StackTrace'
import Filter from '../../../features/filter'
import extend from 'just-extend'
import omit from 'just-omit'
export default {
name: 'PerformanceLog',
components: { DetailsTable, DetailsTableFilterToggle, PrettyPrint, ShortenedText, StackTrace },
Expand Down
3 changes: 3 additions & 0 deletions src/components/Tabs/PerformanceTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ import Timeline from './Performance/Timeline'
import Filter from '../../features/filter'
import extend from 'just-extend'
import omit from 'just-omit'
export default {
name: 'PerformanceTab',
components: { PerformanceChart, PerformanceClientSide, PerformanceLog, Profiler, Timeline },
Expand Down

0 comments on commit 4a533e8

Please sign in to comment.