diff --git a/packages/nc-gui/pages/index/index/index.vue b/packages/nc-gui/pages/index/index/index.vue index a4fd7fe006..ea0fb6097d 100644 --- a/packages/nc-gui/pages/index/index/index.vue +++ b/packages/nc-gui/pages/index/index/index.vue @@ -16,6 +16,7 @@ import { themeV2Colors, useApi, useBreakpoints, + useCopy, useGlobal, useNuxtApp, useUIPermission, @@ -130,12 +131,20 @@ const customRow = (record: ProjectType) => ({ }) onBeforeMount(loadProjects) + +const { copy } = useCopy() + +const copyProjectMeta = async () => { + const aggregatedMetaInfo = await $api.utils.aggregatedMetaInfo() + copy(JSON.stringify(aggregatedMetaInfo)) + message.info('Copied aggregated project meta to clipboard') +}