Better initial component values

This commit is contained in:
Tobias Johansson 2019-04-03 17:50:15 +02:00
parent ee6fd3386d
commit c6333cecfe

View File

@ -98,7 +98,7 @@ let PillarTable = Vue.component('pillar-table-base', {
props: { props: {
selectedIds: { selectedIds: {
type: Array, type: Array,
default: [] default: () => {return []}
}, },
canChangeSelectionCB: { canChangeSelectionCB: {
type: Function, type: Function,
@ -282,7 +282,8 @@ let PillarTable = Vue.component('pillar-table-base', {
} }
}, },
components: { components: {
'pillar-table-row-filter': RowFilter 'pillar-table-row-filter': RowFilter,
'pillar-table-actions': {template:'<div/>'},
} }
}); });