Browse Source

fix: use `useCopy` composable

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6015/head
Pranav C 1 year ago
parent
commit
c2bb751de7
  1. 3
      packages/nc-gui/components/smartsheet/expanded-form/Header.vue

3
packages/nc-gui/components/smartsheet/expanded-form/Header.vue

@ -5,6 +5,7 @@ import {
ReloadRowDataHookInj, ReloadRowDataHookInj,
iconMap, iconMap,
isMac, isMac,
useCopy,
useExpandedFormStoreOrThrow, useExpandedFormStoreOrThrow,
useSmartsheetRowStoreOrThrow, useSmartsheetRowStoreOrThrow,
useSmartsheetStoreOrThrow, useSmartsheetStoreOrThrow,
@ -46,7 +47,7 @@ const iconColor = '#1890ff'
const { dashboardUrl } = useDashboard() const { dashboardUrl } = useDashboard()
const { copy } = useClipboard() const { copy } = useCopy()
const copyRecordUrl = () => { const copyRecordUrl = () => {
copy( copy(

Loading…
Cancel
Save