diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilterMenu.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilterMenu.vue index 51a95ba753..2f5483407a 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilterMenu.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilterMenu.vue @@ -39,7 +39,7 @@ const applyChanges = async () => { ref="filterComp" class="nc-table-toolbar-menu" :auto-save="autosave" - @update:filtersLength="filtersLength = $event" + @update:filters-length="filtersLength = $event" >
diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue index 60fb460171..957ca05138 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue @@ -2,6 +2,7 @@ import { useClipboard } from '@vueuse/core' import { ViewTypes } from 'nocodb-sdk' import { computed } from 'vue' +import { message } from 'ant-design-vue' import { useToast } from 'vue-toastification' import { useNuxtApp } from '#app' import { useSmartsheetStoreOrThrow } from '#imports' @@ -13,8 +14,8 @@ const { isUIAllowed } = useUIPermission() const { view, $api } = useSmartsheetStoreOrThrow() const { copy } = useClipboard() -const toast = useToast() const { $e } = useNuxtApp() +const toast = useToast() const { dashboardUrl } = useDashboard() let showShareModel = $ref(false) @@ -95,7 +96,7 @@ const saveShareLinkPassword = async () => { const copyLink = () => { copy(sharedViewUrl?.value as string) - toast.info('Copied to clipboard') + message.success('Copied to clipboard') } @@ -159,6 +160,7 @@ const copyLink = () => { .share-link-box { @apply flex p-2 w-full items-center align-center gap-1 bg-gray-100 rounded; } + :deep(.ant-collapse-header) { @apply !text-xs; } diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue index b0ec31863e..2f041568f6 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue @@ -2,6 +2,7 @@ import { useClipboard } from '@vueuse/core' import { ViewTypes } from 'nocodb-sdk' import { useToast } from 'vue-toastification' +import { message } from 'ant-design-vue' import { useRoute } from '#app' import { onMounted, useSmartsheetStoreOrThrow } from '#imports' import { extractSdkResponseErrorMsg } from '~/utils/errorUtils' @@ -80,7 +81,7 @@ const renderAllowCSVDownload = (view: SharedViewType) => { const copyLink = (view: SharedViewType) => { copy(`${dashboardUrl?.value as string}/${sharedViewUrl(view)}`) - toast.info('Copied to clipboard') + message.success('Copied to clipboard') } const deleteLink = async (id: string) => {