diff --git a/packages/nc-gui/components/smartsheet/qr-scanner-button/QrScannerButton.vue b/packages/nc-gui/components/smartsheet/qr-scanner-button/QrScannerButton.vue index 983fde20bd..0236496fee 100644 --- a/packages/nc-gui/components/smartsheet/qr-scanner-button/QrScannerButton.vue +++ b/packages/nc-gui/components/smartsheet/qr-scanner-button/QrScannerButton.vue @@ -14,6 +14,8 @@ const router = useRouter() const { $api } = useNuxtApp() const { project } = useProject() +const { isMobileMode } = useGlobal() + const view = inject(ActiveViewInj, ref()) const codeFieldOptions = computed( @@ -94,7 +96,7 @@ const onDecode = async (codeValue: string) => {
- {{ $t('activity.scanCode') }} + {{ $t('activity.scanCode') }}
- {{ $t('activity.filter') }} + {{ $t('activity.filter') }} {{ filtersLength }} diff --git a/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue index d2b6eda8cb..45ae46c3ee 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue @@ -31,6 +31,8 @@ const reloadViewMetaHook = inject(ReloadViewMetaHookInj)! const rootFields = inject(FieldsInj) +const { isMobileMode } = useGlobal() + const isLocked = inject(IsLockedInj, ref(false)) const isPublic = inject(IsPublicInj, ref(false)) @@ -144,7 +146,7 @@ useMenuCloseOnEsc(open) - {{ $t('objects.fields') }} + {{ $t('objects.fields') }} diff --git a/packages/nc-gui/components/smartsheet/toolbar/ShareView.vue b/packages/nc-gui/components/smartsheet/toolbar/ShareView.vue index 36805106e5..8c7b6ae597 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ShareView.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ShareView.vue @@ -34,6 +34,8 @@ const { isUIAllowed } = useUIPermission() const { isSharedBase } = useProject() +const { isMobileMode } = useGlobal() + let showShareModel = $ref(false) const passwordProtected = ref(false) @@ -230,7 +232,7 @@ const copyIframeCode = async () => {
- {{ $t('activity.shareView') }} + {{ $t('activity.shareView') }}
diff --git a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue index ce48d10fd0..90a98c42bc 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue @@ -24,6 +24,8 @@ const { eventBus } = useSmartsheetStoreOrThrow() const { sorts, saveOrUpdate, loadSorts, addSort, deleteSort } = useViewSorts(view, () => reloadDataHook?.trigger()) +const { isMobileMode } = useGlobal() + eventBus.on((event) => { if (event === SmartsheetStoreEvents.SORT_RELOAD) { loadSorts() @@ -66,7 +68,7 @@ useMenuCloseOnEsc(open) - {{ $t('activity.sort') }} + {{ $t('activity.sort') }} {{ sorts.length }} diff --git a/packages/nc-gui/components/tabs/auth/user-management/UsersModal.vue b/packages/nc-gui/components/tabs/auth/user-management/UsersModal.vue index 0fa1d2fc81..3e860bfca7 100644 --- a/packages/nc-gui/components/tabs/auth/user-management/UsersModal.vue +++ b/packages/nc-gui/components/tabs/auth/user-management/UsersModal.vue @@ -38,6 +38,8 @@ const { t } = useI18n() const { project } = useProject() +const { isMobileMode } = useGlobal() + const { $api, $e } = useNuxtApp() const { copy } = useCopy() @@ -153,7 +155,7 @@ const emailField = (inputEl: typeof Input) => { >
- {{ $t('activity.share') }}: {{ project.title }} + {{ $t('activity.share') }}: {{ project.title }}