{
+ return String(value[0]) + ` | ` + String(value[1]) + ` | ` + String(value[2])
+ },
+ },
{ key: 'email', label: this.$t('e_mail') },
],
fields: [
{ key: 'email', label: this.$t('e_mail') },
{ key: 'firstName', label: this.$t('firstname') },
{ key: 'lastName', label: this.$t('lastname') },
- { key: 'creation', label: this.$t('open_creations') },
+ {
+ key: 'creation',
+ // label: this.$t('open_creation') + 'Jan | Feb | März',
+ label:
+ this.$moment().subtract(2, 'month').format('MMM') +
+ ' | ' +
+ this.$moment().subtract(1, 'month').format('MMM') +
+ ' | ' +
+ this.$moment().format('MMM'),
+ formatter: (value, key, item) => {
+ return String(value[0]) + ` | ` + String(value[1]) + ` | ` + String(value[2])
+ },
+ },
{ key: 'bookmark', label: this.$t('remove') },
],
itemsList: [],
diff --git a/admin/src/pages/UserSearch.vue b/admin/src/pages/UserSearch.vue
index 2c8b289e0..012dd0a44 100644
--- a/admin/src/pages/UserSearch.vue
+++ b/admin/src/pages/UserSearch.vue
@@ -42,27 +42,15 @@ export default {
{ key: 'lastName', label: this.$t('lastname') },
{
key: 'creation',
- label: this.$t('open_creation'),
+ // label: this.$t('open_creation') + 'Jan | Feb | März',
+ label:
+ this.$moment().subtract(2, 'month').format('MMM') +
+ ' | ' +
+ this.$moment().subtract(1, 'month').format('MMM') +
+ ' | ' +
+ this.$moment().format('MMM'),
formatter: (value, key, item) => {
- return (
- `
- ` +
- this.$moment().subtract(2, 'month').format('MMMM') +
- ` - ` +
- String(value[0]) +
- ` GDD
- ` +
- this.$moment().subtract(1, 'month').format('MMMM') +
- ` - ` +
- String(value[1]) +
- ` GDD
- ` +
- this.$moment().format('MMMM') +
- ` - ` +
- String(value[2]) +
- ` GDD
- `
- )
+ return String(value[0]) + ` | ` + String(value[1]) + ` | ` + String(value[2])
},
},
{ key: 'show_details', label: this.$t('details') },