From 0858871302d8daefa3d7374ec9bd4a1062655163 Mon Sep 17 00:00:00 2001 From: James Chang Date: Mon, 5 Apr 2021 12:29:45 -0400 Subject: [PATCH] Change text for user createdAt to 'Joined At' --- .../components/interface/crud/deleteRecordInterface.vue | 2 +- frontend/models/userUserFollowLink.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/components/interface/crud/deleteRecordInterface.vue b/frontend/components/interface/crud/deleteRecordInterface.vue index bfd5e66..9a89f05 100644 --- a/frontend/components/interface/crud/deleteRecordInterface.vue +++ b/frontend/components/interface/crud/deleteRecordInterface.vue @@ -47,7 +47,7 @@ export default { itemIdentifier() { return this.recordInfo.renderItem ? this.recordInfo.renderItem(this.selectedItem) - : JSON.stringify(this.selectedItem, null, 2) + : '' }, capitalizedTypename() { diff --git a/frontend/models/userUserFollowLink.ts b/frontend/models/userUserFollowLink.ts index 76408c8..137af53 100644 --- a/frontend/models/userUserFollowLink.ts +++ b/frontend/models/userUserFollowLink.ts @@ -8,7 +8,7 @@ export const UserUserFollowLink = >{ name: 'UserUserFollowLink', pluralName: 'UserUserFollowLinks', icon: 'mdi-view-grid', - // renderItem: (item) => item.name, + renderItem: (item) => item.name, fields: { id: { text: 'ID', @@ -75,9 +75,7 @@ export const UserUserFollowLink = >{ fields: ['user.id', 'target.id'], }, editOptions: undefined, - viewOptions: { - fields: ['user.id', 'target.id'], - }, + viewOptions: undefined, deleteOptions: {}, shareOptions: undefined,