assignee
parent
412c147a0b
commit
0df0ee49d0
|
@ -273,6 +273,7 @@
|
|||
]
|
||||
},
|
||||
"table": {
|
||||
"assignedEmployee": "Zugewiesener Mitarbeiter",
|
||||
"firstName": "Vorname",
|
||||
"lastName": "Nachname",
|
||||
"createdAt": "Erstellt am",
|
||||
|
|
|
@ -273,6 +273,7 @@
|
|||
]
|
||||
},
|
||||
"table": {
|
||||
"assignedEmployee": "Assigned Employee",
|
||||
"firstName": "First Name",
|
||||
"lastName": "Last Name",
|
||||
"createdAt": "Created at",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue