From 348c464c00c6028b5e43e421c138aea786cbb2d2 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sat, 18 May 2019 16:42:31 +0200 Subject: [PATCH 1/3] fixed withdrawel button --- src/components/common/TmBalance.vue | 12 +++++++++--- .../common/__snapshots__/TmBalance.spec.js.snap | 1 - 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/common/TmBalance.vue b/src/components/common/TmBalance.vue index 08e313c828..c73fe314ca 100644 --- a/src/components/common/TmBalance.vue +++ b/src/components/common/TmBalance.vue @@ -12,11 +12,14 @@

Available {{ num.viewDenom(bondDenom) }}

{{ unbondedAtoms }}

-
+

Rewards

{{ rewards }}

10 ? rewards : 0) ) diff --git a/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap b/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap index 28eb69f312..d9575890a2 100644 --- a/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap +++ b/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap @@ -54,7 +54,6 @@ exports[`TmBalance has the expected html structure before adding props 1`] = ` class="withdraw-rewards" id="withdraw-btn" size="sm" - style="display: none;" to="" type="link" value="Withdraw" From feefef482e67a3c84076db8913a6696dcfa4dc1a Mon Sep 17 00:00:00 2001 From: Fabian Date: Sat, 18 May 2019 16:44:37 +0200 Subject: [PATCH 2/3] 'changelog' --- changes/fabo_bring-back-rewards | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/fabo_bring-back-rewards diff --git a/changes/fabo_bring-back-rewards b/changes/fabo_bring-back-rewards new file mode 100644 index 0000000000..bf883758aa --- /dev/null +++ b/changes/fabo_bring-back-rewards @@ -0,0 +1 @@ +[Fixed] [#2621](https://github.com/cosmos/lunie/pull/2621) Bring back withdraw button on european browsers @faboweb \ No newline at end of file From b41b35f2dc5f77de866250d10999279f8ada5fd6 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sat, 18 May 2019 16:44:45 +0200 Subject: [PATCH 3/3] linted --- src/components/common/TmBalance.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/common/TmBalance.vue b/src/components/common/TmBalance.vue index c73fe314ca..413fcea0b6 100644 --- a/src/components/common/TmBalance.vue +++ b/src/components/common/TmBalance.vue @@ -12,10 +12,7 @@

Available {{ num.viewDenom(bondDenom) }}

{{ unbondedAtoms }}

-
+

Rewards

{{ rewards }}