diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json
index c1181b3..b436521 100644
--- a/public/locales/de/translation.json
+++ b/public/locales/de/translation.json
@@ -273,6 +273,7 @@
]
},
"table": {
+ "assignedEmployee": "Zugewiesener Mitarbeiter",
"firstName": "Vorname",
"lastName": "Nachname",
"createdAt": "Erstellt am",
diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json
index 26a9cef..90e3b6a 100644
--- a/public/locales/en/translation.json
+++ b/public/locales/en/translation.json
@@ -273,6 +273,7 @@
]
},
"table": {
+ "assignedEmployee": "Assigned Employee",
"firstName": "First Name",
"lastName": "Last Name",
"createdAt": "Created at",
diff --git a/src/Pages/CrmTest/CrmTest.js b/src/Pages/CrmTest/CrmTest.js
index 2a7caba..5944c7b 100644
--- a/src/Pages/CrmTest/CrmTest.js
+++ b/src/Pages/CrmTest/CrmTest.js
@@ -52,8 +52,8 @@ const CRM_TYPE = {
SETTER_CLOSER: 2,
};
-function MyBadge({ count }) {
- return ;
+function MyBadge({ count, color = "blue" }) {
+ return ;
}
export default function CrmTest() {
@@ -99,9 +99,9 @@ export default function CrmTest() {
const getTableContent = () => {
return [
{
- title: "Assignee",
- dataIndex: "assignee",
- key: "assignee",
+ title: t("crm.table.assignedEmployee"),
+ dataIndex: "assignedEmployee",
+ key: "assignedEmployee",
},
{
title: t("crm.table.firstName"),
@@ -160,7 +160,7 @@ export default function CrmTest() {
data.forEach((item) => {
items.push({
key: item.Id,
- assignee: (
+ assignedEmployee: (
<>