remove package vue-qrcode from app & system

This commit is contained in:
ogerly 2022-04-12 08:50:25 +02:00
parent ab76b05ba6
commit 37aaf3bc63
3 changed files with 1 additions and 18 deletions

View File

@ -28,9 +28,5 @@ describe('UserCard', () => {
it('renders the Div Element ".userdata-card"', () => {
expect(wrapper.find('div.userdata-card').exists()).toBeTruthy()
})
it('renders the Div Element "vue-qrcode"', () => {
expect(wrapper.find('vue-qrcode'))
})
})
})

View File

@ -1,13 +1,7 @@
<template>
<div class="userdata-card">
<b-card class="bg-transparent border-0">
<div class="w-100 text-center">
<vue-qrcode
v-if="$store.state.email"
:value="$store.state.email"
type="image/png"
></vue-qrcode>
</div>
<div class="w-100 text-center">firstName + lastName</div>
<b-container class="d-flex justify-content-center mt-md-5">
<b-row>
@ -37,13 +31,8 @@
</div>
</template>
<script>
import VueQrcode from 'vue-qrcode'
export default {
name: 'UserCard',
components: {
VueQrcode,
},
props: {
balance: { type: Number, default: 0 },
transactionCount: { type: Number, default: 0 },

View File

@ -8,7 +8,6 @@ import * as rules from 'vee-validate/dist/rules'
import { messages } from 'vee-validate/dist/locale/en.json'
import RegeneratorRuntime from 'regenerator-runtime'
import VueQrcode from 'vue-qrcode'
import VueMoment from 'vue-moment'
@ -46,7 +45,6 @@ global.localVue.use(BootstrapVue)
global.localVue.use(Vuex)
global.localVue.use(IconsPlugin)
global.localVue.use(RegeneratorRuntime)
global.localVue.use(VueQrcode)
global.localVue.use(VueMoment)
global.localVue.component('validation-provider', ValidationProvider)
global.localVue.component('validation-observer', ValidationObserver)