Browse Source

fix(gui): remove unnecessary codes

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
b5d8574199
  1. 8
      packages/nc-gui/components/virtual-cell/Links.vue

8
packages/nc-gui/components/virtual-cell/Links.vue

@ -10,12 +10,6 @@ const column = inject(ColumnInj)!
const meta = inject(MetaInj, ref())
const relColumn = computed(() => {
return meta.value.columns.find((c: ColumnType) => c.id === column.value?.colOptions?.fk_relation_column_id)
})
provide(ColumnInj, relColumn)
const cellValue = inject(CellValueInj)!
const row = inject(RowInj)!
@ -39,7 +33,7 @@ const { isUIAllowed } = useUIPermission()
const { state, isNew } = useSmartsheetRowStoreOrThrow()
const { relatedTableMeta, loadRelatedTableMeta, relatedTableDisplayValueProp } = useProvideLTARStore(
relColumn as Ref<Required<ColumnType>>,
column as Ref<Required<ColumnType>>,
row,
isNew,
reloadRowTrigger.trigger,

Loading…
Cancel
Save