From b585a5baff120d9e985e7659664ee82622a03447 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 31 Aug 2022 13:08:25 +0530 Subject: [PATCH] feat(gui-v2): show bt add/link icon in shared form view re #3409 Signed-off-by: Pranav C --- packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue b/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue index 5f8b570e1f..2358ca6d79 100644 --- a/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue +++ b/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue @@ -34,6 +34,8 @@ const active = inject(ActiveCellInj)! const readOnly = inject(ReadonlyInj, false) +const isForm = inject(IsFormInj, ref(false)) + const isLocked = inject(IsLockedInj) const { isUIAllowed } = useUIPermission() @@ -79,7 +81,7 @@ const unlinkRef = async (rec: Record) => {