fix(dashboard): Fixes to campaign and promotions domains (#9022)

This commit is contained in:
Kasper Fabricius Kristensen
2024-09-05 22:18:38 +02:00
committed by GitHub
parent c27aa46939
commit e5b90b2d97
29 changed files with 886 additions and 710 deletions

View File

@@ -1,13 +0,0 @@
import { useTranslation } from "react-i18next"
import { Filter } from "../../../components/table/data-table"
export const usePromotionTableFilters = () => {
const { t } = useTranslation()
let filters: Filter[] = [
{ label: t("fields.createdAt"), key: "created_at", type: "date" },
{ label: t("fields.updatedAt"), key: "updated_at", type: "date" },
]
return filters
}