Skip to content

Commit ff2461a

Browse files
Merge pull request #142 from jenxie/incomplete-logs
Incomplete logs
2 parents e4ec736 + 4161ea0 commit ff2461a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

ui/src/components/EventsTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const columns: QTableColumn[] = [
2323
},
2424
{
2525
name: 'changed_from',
26-
field: 'changed_from',
26+
field: 'old_value',
2727
label: t('LABEL_CHANGED_FROM'),
2828
align: 'left',
2929
},
3030
{
3131
name: 'changed_to',
32-
field: 'changed_to',
32+
field: 'new_value',
3333
label: t('LABEL_CHANGED_TO'),
3434
align: 'left',
3535
},

ui/src/components/ReportLogsTable.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ const columns: QTableColumn[] = [
2626
},
2727
{
2828
name: 'message',
29-
field: 'message',
29+
field: (row) =>
30+
row.source?.startsWith('/')
31+
? `${row.source}: ${row.message}`
32+
: row.message,
3033
label: t('LABEL_MESSAGE'),
3134
align: 'left',
3235
style: 'white-space: pre;',
3336
},
3437
{
3538
name: 'location',
36-
field: (row) => (row.location ? ` ${row.location}:${row.line}` : ''),
39+
field: (row) => (row.file ? `${row.file}:${row.line}` : ''),
3740
label: t('LABEL_LOCATION_SHORT'),
3841
align: 'left',
3942
},

0 commit comments

Comments
 (0)