diff --git a/packages/nc-gui/utils/datetimeUtils.ts b/packages/nc-gui/utils/datetimeUtils.ts index 2924b723ff..46ae5ec375 100644 --- a/packages/nc-gui/utils/datetimeUtils.ts +++ b/packages/nc-gui/utils/datetimeUtils.ts @@ -49,5 +49,9 @@ export const timeAgo = (date: string) => { if (months < 12) { return `${months}mo ago` } + if (years < 1) { + return `1y ago` + } + return `${years}y ago` } diff --git a/packages/nocodb/src/models/BaseUser.ts b/packages/nocodb/src/models/BaseUser.ts index 61fce6220d..dda2417d0b 100644 --- a/packages/nocodb/src/models/BaseUser.ts +++ b/packages/nocodb/src/models/BaseUser.ts @@ -181,7 +181,7 @@ export default class BaseUser { let { list: baseUsers } = cachedList; const { isNoneList } = cachedList; - const fullVersionCols = ['invite_token', 'created_at']; + const fullVersionCols = ['invite_token']; if (!isNoneList && !baseUsers.length) { const queryBuilder = ncMeta