IO-1333 Resolve dashboard component name issue.

This commit is contained in:
Patrick Fic
2021-08-30 15:34:19 -07:00
parent 61406aafa6
commit c97df6dc61
2 changed files with 2 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ const componentList = {
h: 3, h: 3,
}, },
MonthlyPartsSales: { MonthlyPartsSales: {
label: i18next.t("dashboard.titles.productiondollars"), label: i18next.t("dashboard.titles.monthlypartssales"),
component: DashboardMonthlyPartsSales, component: DashboardMonthlyPartsSales,
gqlFragment: null, gqlFragment: null,
minW: 2, minW: 2,
@@ -253,7 +253,7 @@ const componentList = {
h: 2, h: 2,
}, },
MonthlyLaborSales: { MonthlyLaborSales: {
label: i18next.t("dashboard.titles.monthlypartssales"), label: i18next.t("dashboard.titles.monthlylaborsales"),
component: DashboardMonthlyLaborSales, component: DashboardMonthlyLaborSales,
gqlFragment: null, gqlFragment: null,
minW: 2, minW: 2,

View File

@@ -168,7 +168,6 @@ export default function GlobalSearch() {
<AutoComplete <AutoComplete
options={options} options={options}
onSearch={handleSearch} onSearch={handleSearch}
allowClear
placeholder={t("general.labels.globalsearch")} placeholder={t("general.labels.globalsearch")}
> >
<Input.Search loading={loading} /> <Input.Search loading={loading} />