Browse Source

only show qr/barcode scanner button in mobile mode

pull/5114/head
Daniel Spaude 2 years ago
parent
commit
a4b7c15ba5
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 2
      packages/nc-gui/components/smartsheet/Toolbar.vue

2
packages/nc-gui/components/smartsheet/Toolbar.vue

@ -44,7 +44,7 @@ const { allowCSVDownload } = useSharedView()
<LazySmartsheetToolbarShareView v-if="(isForm || isGrid || isKanban || isGallery || isMap) && !isPublic" />
<LazySmartsheetToolbarQrScannerButton v-if="isGrid || isKanban || isGallery" />
<LazySmartsheetToolbarQrScannerButton v-if="isMobileMode && (isGrid || isKanban || isGallery)" />
<LazySmartsheetToolbarExport v-if="(!isPublic && !isUIAllowed('dataInsert')) || (isPublic && allowCSVDownload)" />
<div v-if="!isMobileMode" class="flex-1" />

Loading…
Cancel
Save