mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Use i18n keys to store cardinality (#231)
This commit is contained in:
@@ -190,7 +190,7 @@ export default function RelationshipInfo({ data }) {
|
||||
<div className="font-semibold my-1">{t("cardinality")}:</div>
|
||||
<Select
|
||||
optionList={Object.values(Cardinality).map((v) => ({
|
||||
label: v,
|
||||
label: t(v),
|
||||
value: v,
|
||||
}))}
|
||||
value={data.cardinality}
|
||||
|
||||
Reference in New Issue
Block a user