diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue index 615439ff9e..770776f1ab 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue @@ -15,14 +15,24 @@ import MdiViewListIcon from '~icons/mdi/view-list-outline' // todo : replace with inject const publicViewId = null + +// TODO:: identify based on meta +const isView = ref(false) + +const { isUIAllowed } = useUIPermission() + const { project } = useProject() const { $api } = useNuxtApp() + const toast = useToast() const meta = inject(MetaInj) + const selectedView = inject(ActiveViewInj) +const showWebhookDrawer = ref(false) + const exportCsv = async () => { let offset = 0 let c = 1 @@ -80,7 +90,7 @@ const exportCsv = async () => { toast.success('Successfully exported all table data') } } - } catch (e) { + } catch (e: any) { toast.error(extractSdkResponseErrorMsg(e)) } } @@ -99,22 +109,37 @@ const exportCsv = async () => { +