From 93c6262a6a4d311de45e944109d5e290d07b0fcf Mon Sep 17 00:00:00 2001 From: Anuj Khandelwal Date: Mon, 4 Mar 2024 13:29:18 +0530 Subject: [PATCH] fix: correct typo in created_at and fix error messages (#520) --- ui/src/containers/billingplans.list/columns.tsx | 2 +- ui/src/containers/groups.list/columns.tsx | 2 +- .../containers/organisations.list/billingaccounts/columns.tsx | 2 +- .../billingaccounts/subscriptions/columns.tsx | 2 +- ui/src/containers/organisations.list/columns.tsx | 2 +- ui/src/containers/organisations.list/projects/columns.tsx | 2 +- ui/src/containers/organisations.list/projects/index.tsx | 2 +- ui/src/containers/organisations.list/serviceusers/columns.tsx | 2 +- ui/src/containers/organisations.list/serviceusers/index.tsx | 2 +- ui/src/containers/organisations.list/users/columns.tsx | 2 +- ui/src/containers/organisations.list/users/index.tsx | 2 +- ui/src/containers/projects.list/columns.tsx | 2 +- ui/src/containers/projects.list/users/columns.tsx | 2 +- ui/src/containers/projects.list/users/index.tsx | 2 +- ui/src/containers/users.list/columns.tsx | 2 +- ui/src/containers/users.list/index.tsx | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ui/src/containers/billingplans.list/columns.tsx b/ui/src/containers/billingplans.list/columns.tsx index 493a6f844..54126e321 100644 --- a/ui/src/containers/billingplans.list/columns.tsx +++ b/ui/src/containers/billingplans.list/columns.tsx @@ -40,7 +40,7 @@ export const getColumns: ( footer: (props) => props.column.id, }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/groups.list/columns.tsx b/ui/src/containers/groups.list/columns.tsx index a8d2e75a5..46bad81af 100644 --- a/ui/src/containers/groups.list/columns.tsx +++ b/ui/src/containers/groups.list/columns.tsx @@ -38,7 +38,7 @@ export const getColumns: ( filterVariant: "text", }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", filterVariant: "text", meta: { diff --git a/ui/src/containers/organisations.list/billingaccounts/columns.tsx b/ui/src/containers/organisations.list/billingaccounts/columns.tsx index 91280297b..9ca1d4b45 100644 --- a/ui/src/containers/organisations.list/billingaccounts/columns.tsx +++ b/ui/src/containers/organisations.list/billingaccounts/columns.tsx @@ -53,7 +53,7 @@ export const getColumns: ( }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/organisations.list/billingaccounts/subscriptions/columns.tsx b/ui/src/containers/organisations.list/billingaccounts/subscriptions/columns.tsx index 942d25d3c..9bf382518 100644 --- a/ui/src/containers/organisations.list/billingaccounts/subscriptions/columns.tsx +++ b/ui/src/containers/organisations.list/billingaccounts/subscriptions/columns.tsx @@ -34,7 +34,7 @@ export const getColumns: ( filterVariant: "text", }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/organisations.list/columns.tsx b/ui/src/containers/organisations.list/columns.tsx index 329d03305..f3f9e7acc 100644 --- a/ui/src/containers/organisations.list/columns.tsx +++ b/ui/src/containers/organisations.list/columns.tsx @@ -52,7 +52,7 @@ export const getColumns: ( }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { diff --git a/ui/src/containers/organisations.list/projects/columns.tsx b/ui/src/containers/organisations.list/projects/columns.tsx index e1e2a8b0e..ce5606b01 100644 --- a/ui/src/containers/organisations.list/projects/columns.tsx +++ b/ui/src/containers/organisations.list/projects/columns.tsx @@ -29,7 +29,7 @@ export const getColumns: ( filterVariant: "text", }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/organisations.list/projects/index.tsx b/ui/src/containers/organisations.list/projects/index.tsx index 56076f1a2..0055ea052 100644 --- a/ui/src/containers/organisations.list/projects/index.tsx +++ b/ui/src/containers/organisations.list/projects/index.tsx @@ -86,7 +86,7 @@ export function useUser() { export const noDataChildren = (
-

0 user created

+

No users created

Try creating a new user.
); diff --git a/ui/src/containers/organisations.list/serviceusers/columns.tsx b/ui/src/containers/organisations.list/serviceusers/columns.tsx index 114d93f6b..213c02b38 100644 --- a/ui/src/containers/organisations.list/serviceusers/columns.tsx +++ b/ui/src/containers/organisations.list/serviceusers/columns.tsx @@ -29,7 +29,7 @@ export const getColumns: ( footer: (props) => props.column.id, }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/organisations.list/serviceusers/index.tsx b/ui/src/containers/organisations.list/serviceusers/index.tsx index 3ec596091..104953afd 100644 --- a/ui/src/containers/organisations.list/serviceusers/index.tsx +++ b/ui/src/containers/organisations.list/serviceusers/index.tsx @@ -86,7 +86,7 @@ export function useUser() { export const noDataChildren = (
-

0 service user created

+

No service users created

Try creating a new service user.
); diff --git a/ui/src/containers/organisations.list/users/columns.tsx b/ui/src/containers/organisations.list/users/columns.tsx index b148b891f..b46f3120b 100644 --- a/ui/src/containers/organisations.list/users/columns.tsx +++ b/ui/src/containers/organisations.list/users/columns.tsx @@ -30,7 +30,7 @@ export const getColumns: ( footer: (props) => props.column.id, }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/organisations.list/users/index.tsx b/ui/src/containers/organisations.list/users/index.tsx index eacdd832b..89ce301e8 100644 --- a/ui/src/containers/organisations.list/users/index.tsx +++ b/ui/src/containers/organisations.list/users/index.tsx @@ -88,7 +88,7 @@ export function useUser() { export const noDataChildren = (
-

0 user created

+

No users created

Try creating a new user.
); diff --git a/ui/src/containers/projects.list/columns.tsx b/ui/src/containers/projects.list/columns.tsx index d019fbeb3..e359d4103 100644 --- a/ui/src/containers/projects.list/columns.tsx +++ b/ui/src/containers/projects.list/columns.tsx @@ -41,7 +41,7 @@ export const getColumns: ( }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/projects.list/users/columns.tsx b/ui/src/containers/projects.list/users/columns.tsx index 2f88d33ac..36616f558 100644 --- a/ui/src/containers/projects.list/users/columns.tsx +++ b/ui/src/containers/projects.list/users/columns.tsx @@ -30,7 +30,7 @@ export const getColumns: ( footer: (props) => props.column.id, }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/projects.list/users/index.tsx b/ui/src/containers/projects.list/users/index.tsx index 439c08f31..8f01779e3 100644 --- a/ui/src/containers/projects.list/users/index.tsx +++ b/ui/src/containers/projects.list/users/index.tsx @@ -82,7 +82,7 @@ export function useUser() { export const noDataChildren = (
-

0 user created

+

No users created

Try creating a new user.
); diff --git a/ui/src/containers/users.list/columns.tsx b/ui/src/containers/users.list/columns.tsx index 0468b0cce..939c88778 100644 --- a/ui/src/containers/users.list/columns.tsx +++ b/ui/src/containers/users.list/columns.tsx @@ -40,7 +40,7 @@ export const getColumns: ( footer: (props) => props.column.id, }, { - header: "Create At", + header: "Created At", accessorKey: "created_at", meta: { headerFilter: false, diff --git a/ui/src/containers/users.list/index.tsx b/ui/src/containers/users.list/index.tsx index e919022da..69d2c0d24 100644 --- a/ui/src/containers/users.list/index.tsx +++ b/ui/src/containers/users.list/index.tsx @@ -93,7 +93,7 @@ export function useUser() { export const noDataChildren = (
-

0 user created

+

No users created

Try creating a new user.
);