Browse Source

use correct class name for scanner button to fix failing test

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

2
packages/nc-gui/components/smartsheet/qr-scanner-button/QrScannerButton.vue

@ -93,7 +93,7 @@ const onDecode = async (codeValue: string) => {
<template> <template>
<div> <div>
<a-button class="nc-btn-share-view nc-toolbar-btn" @click="showCodeScannerOverlay = true"> <a-button class="nc-btn-find-row-by-scan nc-toolbar-btn" @click="showCodeScannerOverlay = true">
<div class="flex items-center gap-1"> <div class="flex items-center gap-1">
<QrCodeScan /> <QrCodeScan />
<span v-if="!isMobileMode" class="!text-sm font-weight-normal"> {{ $t('activity.scanCode') }}</span> <span v-if="!isMobileMode" class="!text-sm font-weight-normal"> {{ $t('activity.scanCode') }}</span>

Loading…
Cancel
Save