From 22211a883cce342cf8d0123cb1d674d4d7811caa Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 14 Jun 2021 13:27:52 +0200 Subject: [PATCH 1/3] add content header again --- .../components/SidebarPlugin/SideBar.spec.js | 14 ------------- .../src/components/SidebarPlugin/SideBar.vue | 9 --------- .../src/views/Layout/DashboardLayout_gdd.vue | 20 ++++++++++++++++++- 3 files changed, 19 insertions(+), 24 deletions(-) diff --git a/frontend/src/components/SidebarPlugin/SideBar.spec.js b/frontend/src/components/SidebarPlugin/SideBar.spec.js index 4612f6f9e..f9e0780d4 100644 --- a/frontend/src/components/SidebarPlugin/SideBar.spec.js +++ b/frontend/src/components/SidebarPlugin/SideBar.spec.js @@ -41,20 +41,6 @@ describe('SideBar', () => { expect(wrapper.find('#sidenav-main').exists()).toBeTruthy() }) - describe('balance', () => { - it('shows em-dash as balance while loading', () => { - expect(wrapper.find('.gddBalance').text()).toBe('— GDD') - }) - - it('shows the when loaded', async () => { - wrapper.setProps({ - pending: false, - }) - await wrapper.vm.$nextTick() - expect(wrapper.find('.gddBalance').text()).toBe('1234.56 GDD') - }) - }) - describe('navbar button', () => { it('has a navbar button', () => { expect(wrapper.find('button.navbar-toggler').exists()).toBeTruthy() diff --git a/frontend/src/components/SidebarPlugin/SideBar.vue b/frontend/src/components/SidebarPlugin/SideBar.vue index 138c802e9..d2373e1de 100755 --- a/frontend/src/components/SidebarPlugin/SideBar.vue +++ b/frontend/src/components/SidebarPlugin/SideBar.vue @@ -9,13 +9,6 @@ Gradido Logo -
{{ pending ? '—' : $n(balance, 'decimal') }} GDD
- -
-
- -
-