Skip to content

Commit acf3d71

Browse files
author
Bernard Valentin
committed
Added instance column in reports table
1 parent a5bfa93 commit acf3d71

1 file changed

Lines changed: 23 additions & 16 deletions

File tree

frontend/src/components/ReportList.vue

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,15 @@
101101
'-'
102102
}}
103103
</td>
104-
<td>
104+
<!-- <td>
105105
{{
106106
store.pipelineById(store.executionById(item.run).pipeline)
107107
.version || '-'
108108
}}
109-
</td>
110-
<td>{{ formatDate(store.executionById(item.run).start_time) }}</td>
109+
</td> -->
110+
<!-- <td>{{ formatDate(store.executionById(item.run).start_time) }}</td> -->
111111
<td>{{ item.name || 'No name' }}</td>
112+
<td>{{ item.instance || '' }}</td>
112113
<td>{{ formatDate(item.created_at) }}</td>
113114
<td class="text-right nowrap">
114115
<v-btn
@@ -196,30 +197,36 @@ export default {
196197
{
197198
title: 'Pipeline',
198199
key: 'pipeline',
199-
sortable: true,
200-
align: 'start',
201-
},
202-
{
203-
title: 'Version',
204-
key: 'version',
205-
sortable: true,
200+
sortable: false,
206201
align: 'start',
207202
},
203+
// {
204+
// title: 'Version',
205+
// key: 'version',
206+
// sortable: true,
207+
// align: 'start',
208+
// },
209+
// {
210+
// title: 'Pipeline Start Time',
211+
// key: 'pipeline_start_time',
212+
// sortable: true,
213+
// align: 'start',
214+
// },
208215
{
209-
title: 'Pipeline Start Time',
210-
key: 'pipeline_start_time',
216+
title: 'Tool',
217+
key: 'name',
211218
sortable: true,
212219
align: 'start',
213220
},
214221
{
215-
title: 'Tool',
216-
key: 'tool_name',
222+
title: 'Instance',
223+
key: 'instance',
217224
sortable: true,
218225
align: 'start',
219226
},
220227
{
221228
title: 'Report Time',
222-
key: 'report_time',
229+
key: 'created_at',
223230
sortable: true,
224231
},
225232
{
@@ -296,7 +303,7 @@ export default {
296303
this.store.selectedExecutionId,
297304
);
298305
} else {
299-
console.debug('No execution selected for fetching reports');
306+
console.warn('No execution selected for fetching reports');
300307
}
301308
},
302309

0 commit comments

Comments
 (0)