Skip to content

Commit

Permalink
fix: 🐛 update statusicon in client page
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrnoch committed Aug 21, 2024
1 parent c929e97 commit 8d08c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/Dashboard/pages/Other/Clients/ClientDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ClientDetail: Component = () => {
field: "templateType",
header: t("pages.other.clients.table.type"),
component: (item) => (
<StatusIcon>
<StatusIcon status={(item.documentType as string) === "INVOICE" ? "success" : "warning"}>
{(item.documentType as string) === "INVOICE"
? t("pages.other.templates.templateTypes.invoice")
: (item.documentType as string) === "PROFORMA"
Expand Down

0 comments on commit 8d08c36

Please sign in to comment.