Browse Source

refactor(gui): make default relation type as mm

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5272/head
Pranav C 2 years ago
parent
commit
2598302170
  1. 2
      packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue

2
packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue

@ -33,7 +33,7 @@ if (!vModel.value.childTable) vModel.value.childTable = meta?.table_name
if (!vModel.value.parentTable) vModel.value.parentTable = vModel.value.rtn || ''
if (!vModel.value.parentColumn) vModel.value.parentColumn = vModel.value.rcn || ''
if (!vModel.value.type) vModel.value.type = appInfo.isCloud ? 'mm' : 'hm'
if (!vModel.value.type) vModel.value.type = 'mm'
if (!vModel.value.onUpdate) vModel.value.onUpdate = onUpdateDeleteOptions[0]
if (!vModel.value.onDelete) vModel.value.onDelete = onUpdateDeleteOptions[0]
if (!vModel.value.virtual) vModel.value.virtual = appInfo.isCloud || sqlUi === SqliteUi

Loading…
Cancel
Save