Files
mixtape/zero.Debug/Renderers/space.team.js
T

57 lines
931 B
JavaScript
Raw Normal View History

2020-08-31 14:33:31 +02:00
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
}
2020-09-01 11:33:42 +02:00
],
list: {
2020-09-01 12:34:06 +02:00
search: null,
2020-09-01 11:33:42 +02:00
columns: {
name: {
as: 'text',
label: '@ui.name',
bold: true,
link: item =>
{
return {
name: 'space-item',
params: { alias: 'team', id: item.id }
};
}
},
email: {
as: 'text',
2020-09-01 12:20:20 +02:00
label: 'Email',
width: 250
},
position: {
as: 'text',
label: 'Position',
width: 150
2020-09-01 11:33:42 +02:00
},
createdDate: {
as: 'date',
2020-09-01 12:20:20 +02:00
label: '@ui.createdDate',
width: 150
2020-09-01 11:33:42 +02:00
}
}
}
2020-08-31 14:33:31 +02:00
};