mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 07:26:52 +00:00
fix: links modal in form
This commit is contained in:
@@ -44,6 +44,8 @@ const meta = inject(MetaInj, ref())
|
||||
|
||||
const isForm = inject(IsFormInj, ref(false))
|
||||
|
||||
const isExpandedForm = inject(IsExpandedFormOpenInj, ref(false))
|
||||
|
||||
const colOptions = computed(() => column.value?.colOptions)
|
||||
|
||||
const tableTile = computed(() => meta?.value?.title)
|
||||
@@ -132,7 +134,11 @@ const closeAddColumnDropdown = () => {
|
||||
<template #title>
|
||||
{{ tooltipMsg }}
|
||||
</template>
|
||||
<span class="name pl-1" :class="{ 'truncate': !isForm, 'whitespace-pre-line': isForm }" :title="column.title">
|
||||
<span
|
||||
class="name pl-1"
|
||||
:class="{ 'truncate': !isForm || !isExpandedForm, 'whitespace-pre-line': isForm || isExpandedForm }"
|
||||
:title="column.title"
|
||||
>
|
||||
{{ column.title }}
|
||||
</span>
|
||||
</a-tooltip>
|
||||
@@ -143,7 +149,7 @@ const closeAddColumnDropdown = () => {
|
||||
<div class="flex-1" />
|
||||
|
||||
<LazySmartsheetHeaderMenu
|
||||
v-if="!isForm && isUIAllowed('edit-column')"
|
||||
v-if="!isForm && isUIAllowed('edit-column') && !isExpandedForm"
|
||||
v-model:is-open="isDropDownOpen"
|
||||
:virtual="true"
|
||||
@add-column="addField"
|
||||
|
||||
Reference in New Issue
Block a user