feat: links modal revamp

This commit is contained in:
DarkPhoenix2704
2023-09-12 13:30:01 +05:30
parent bc1f29b2ea
commit a988acbfc7
24 changed files with 813 additions and 318 deletions

View File

@@ -22,7 +22,7 @@ import {
useUIPermission,
} from '#imports'
const props = defineProps<{ column: ColumnType; hideMenu?: boolean; required?: boolean | number }>()
const props = defineProps<{ column: ColumnType; hideMenu?: boolean; required?: boolean | number; hideIcon?: boolean }>()
const { t } = useI18n()
@@ -126,7 +126,7 @@ const closeAddColumnDropdown = () => {
:class="{ 'h-full': column }"
@click.right="isDropDownOpen = !isDropDownOpen"
>
<LazySmartsheetHeaderVirtualCellIcon v-if="column" />
<LazySmartsheetHeaderVirtualCellIcon v-if="column && !props.hideIcon" />
<a-tooltip placement="bottom">
<template #title>