Commit 758376a0 authored by christianrhansen's avatar christianrhansen

render actions table data only when actions exist

parent 4aaa9b48
Pipeline #29683 passed with stage
in 1 minute and 7 seconds
......@@ -128,15 +128,17 @@
}
return column
})
cols.push({
name: 'actions',
align: 'right',
type: 'string',
filter: false,
sortable: false,
sort: false,
format: makeFormatter('actions')
})
if (this.config.actions) {
cols.push({
name: 'actions',
align: 'right',
type: 'string',
filter: false,
sortable: false,
sort: false,
format: makeFormatter('actions')
})
}
this.cols = cols
},
async defaultClick (btn, props) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment