mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove status row, fixed tests
This commit is contained in:
parent
bfd8f202e3
commit
cd41e548cd
@ -25,12 +25,6 @@ describe('Overview', () => {
|
||||
wrapper = Wrapper()
|
||||
})
|
||||
|
||||
it('has a status gdd-status-gdd', () => {
|
||||
expect(wrapper.find('div.gdd-status-gdd').exists()).toBeTruthy()
|
||||
})
|
||||
it('has a status gdd-status-gdt', () => {
|
||||
expect(wrapper.find('div.gdd-status-gdt').exists()).toBeTruthy()
|
||||
})
|
||||
it('has a transactions table', () => {
|
||||
expect(wrapper.find('div.gdd-transaction-list').exists()).toBeTruthy()
|
||||
})
|
||||
|
||||
@ -1,19 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="container-fluid">
|
||||
<b-row class="ml-1 mr-1 mb-2">
|
||||
<b-col class="col-6 p-3 g-border">
|
||||
<status class="gdd-status-gdd" :pending="pending" :balance="balance" status-text="GDD" />
|
||||
</b-col>
|
||||
<b-col class="col-6 p-3 text-right g-border">
|
||||
<status
|
||||
class="gdd-status-gdt"
|
||||
:pending="pending"
|
||||
:balance="GdtBalance"
|
||||
status-text="GDT"
|
||||
/>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<gdd-transaction-list
|
||||
:transactions="transactions"
|
||||
:pageSize="5"
|
||||
@ -30,14 +17,12 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import Status from '@/components/Status.vue'
|
||||
import GddTransactionList from '@/components/GddTransactionList.vue'
|
||||
import GddTransactionListFooter from '@/components/GddTransactionListFooter.vue'
|
||||
|
||||
export default {
|
||||
name: 'Overview',
|
||||
components: {
|
||||
Status,
|
||||
GddTransactionList,
|
||||
GddTransactionListFooter,
|
||||
},
|
||||
@ -48,7 +33,6 @@ export default {
|
||||
},
|
||||
props: {
|
||||
balance: { type: Number, default: 0 },
|
||||
GdtBalance: { type: Number, default: 0 },
|
||||
decayStartBlock: { type: Date },
|
||||
transactions: {
|
||||
default: () => [],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user