Browse Source

fix: Added event to expanded form open

pull/6539/head
Muhammed Mustafa 1 year ago
parent
commit
4faa165d6d
  1. 1
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  2. 2
      packages/nc-gui/components/smartsheet/grid/Table.vue
  3. 2
      packages/nc-gui/components/virtual-cell/components/ListItem.vue

1
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -607,6 +607,7 @@ export default {
<div class="px-1">Close</div>
</NcButton>
<NcButton
v-e="['a:row-expand:save']"
data-testid="nc-expanded-form-save"
type="primary"
size="medium"

2
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1402,7 +1402,7 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
<component
:is="iconMap.expand"
v-if="expandForm"
v-e="['c:expanded-form:open']"
v-e="['c:row-expand:open']"
class="select-none transform hover:(text-black scale-120) nc-row-expand"
@click="expandAndLooseFocus(row, state)"
/>

2
packages/nc-gui/components/virtual-cell/components/ListItem.vue

@ -137,7 +137,7 @@ const attachments: ComputedRef<Attachment[]> = computed(() => {
</div>
<NcButton
v-if="!isForm && !isPublic"
v-e="['c:expanded-form:open']"
v-e="['c:row-expand:open']"
type="text"
size="lg"
class="!px-2 nc-expand-item !group-hover:block !hidden !border-1 !shadow-sm !border-gray-200 !bg-white !absolute right-3 bottom-3"

Loading…
Cancel
Save