main
alex 2024-03-06 22:42:01 +01:00
parent 412c147a0b
commit 0df0ee49d0
3 changed files with 8 additions and 6 deletions

View File

@ -273,6 +273,7 @@
]
},
"table": {
"assignedEmployee": "Zugewiesener Mitarbeiter",
"firstName": "Vorname",
"lastName": "Nachname",
"createdAt": "Erstellt am",

View File

@ -273,6 +273,7 @@
]
},
"table": {
"assignedEmployee": "Assigned Employee",
"firstName": "First Name",
"lastName": "Last Name",
"createdAt": "Created at",

View File

@ -52,8 +52,8 @@ const CRM_TYPE = {
SETTER_CLOSER: 2,
};
function MyBadge({ count }) {
return <Badge color="blue" count={count} overflowCount={100000} showZero />;
function MyBadge({ count, color = "blue" }) {
return <Badge color={color} count={count} overflowCount={100000} showZero />;
}
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: (
<>
<Popover
placement="right"