fix: Several fixes based on preview testing (#7906)

* fix: Add searchable properties on currency

* fix: Format product type dates in table

* fix: Preserve line whitespace in section row

* fix: Continue through tabs on Enter in create product form

* fix: Pagination in variant prices section

* fix: Add missing inventory edit item translation

* fix: Use the correct options URL for editing

* fix: Correctly get the variant title in inventory item details

* fix: Completely remove variant titles section in inventory item
This commit is contained in:
Stevche Radevski
2024-07-02 14:56:34 +02:00
committed by GitHub
parent ef5f5363a1
commit 8244fe03b7
8 changed files with 47 additions and 41 deletions
@@ -1,10 +1,10 @@
import { model } from "@medusajs/utils"
export default model.define("currency", {
code: model.text().primaryKey(),
code: model.text().primaryKey().searchable(),
symbol: model.text(),
symbol_native: model.text(),
name: model.text(),
name: model.text().searchable(),
decimal_digits: model.number().default(0),
rounding: model.bigNumber().default(0),
})