Build and type fixes
This commit is contained in:
parent
d5bd58ac3e
commit
656f3fbe71
64 changed files with 1878 additions and 1501 deletions
|
|
@ -12,7 +12,7 @@ export const QueryText: FC = () => {
|
|||
query: q,
|
||||
} = useAppContext();
|
||||
|
||||
const displayNames = {
|
||||
const displayNames: any = {
|
||||
incidentType: t("incidentType"),
|
||||
startDate: t("startDate"),
|
||||
endDate: t("endDate"),
|
||||
|
|
@ -41,6 +41,7 @@ export const QueryText: FC = () => {
|
|||
queryType === "include" ? ` ${t("is")} ` : ` ${t("isNot")} `
|
||||
} ${values
|
||||
.map(
|
||||
// @ts-expect-error
|
||||
(value: string) => `<em>${taxonomy[key]?.[value]?.display ?? ""}</em>`
|
||||
)
|
||||
.join(` ${t("or")} `)}</span>`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue