feat(dashboard): Secret keys domain (#7030)

* setup secret keys

* add secret keys

* fix merge
This commit is contained in:
Kasper Fabricius Kristensen
2024-04-09 15:11:32 +02:00
committed by GitHub
parent 8eb2a4156d
commit 21be6ff7ed
26 changed files with 628 additions and 336 deletions

View File

@@ -193,7 +193,7 @@ export const DataTableRoot = <TData,>({
"cursor-pointer": !!to,
"bg-ui-bg-highlight hover:bg-ui-bg-highlight-hover":
row.getIsSelected(),
"bg-ui-bg-disabled hover:bg-ui-bg-disabled":
"!bg-ui-bg-disabled !hover:bg-ui-bg-disabled":
isRowDisabled,
}
)}

View File

@@ -1,12 +1,17 @@
import { Tooltip } from "@medusajs/ui"
import format from "date-fns/format"
import { useTranslation } from "react-i18next"
import { PlaceholderCell } from "../placeholder-cell"
type DateCellProps = {
date: Date | string
date: Date | string | null
}
export const DateCell = ({ date }: DateCellProps) => {
if (!date) {
return <PlaceholderCell />
}
const value = new Date(date)
value.setMinutes(value.getMinutes() - value.getTimezoneOffset())