Files
mixtape/zero.Debug/Renderers/space.team.js
T
2020-09-01 12:34:06 +02:00

57 lines
931 B
JavaScript

export default {
alias: 'space.team',
fields: [
{
field: 'name',
display: 'text',
label: 'Name',
required: true
},
{
field: 'position',
display: 'text',
label: 'Position'
},
{
field: 'email',
display: 'text',
label: 'Email',
required: true
}
],
list: {
search: null,
columns: {
name: {
as: 'text',
label: '@ui.name',
bold: true,
link: item =>
{
return {
name: 'space-item',
params: { alias: 'team', id: item.id }
};
}
},
email: {
as: 'text',
label: 'Email',
width: 250
},
position: {
as: 'text',
label: 'Position',
width: 150
},
createdDate: {
as: 'date',
label: '@ui.createdDate',
width: 150
}
}
}
};