Skip to content

Commit

Permalink
Ana/change svg icon for material icon (#3388)
Browse files Browse the repository at this point in the history
* change svg to material icon

* lint
  • Loading branch information
Bitcoinera authored and faboweb committed Jan 8, 2020
1 parent 120a73f commit 3bb6b07
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 0 additions & 3 deletions public/img/icons/arrow-icon.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/common/TmSessionExplore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default {
return {
address: {
required,
addressValidate: this.addressValidate,
addressValidate: this.addressValidate,
isNotAValidatorAddress: this.isNotAValidatorAddress,
isAWhitelistedBech32Prefix: this.isAWhitelistedBech32Prefix
}
Expand Down
8 changes: 5 additions & 3 deletions src/components/staking/PageValidator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
color="secondary"
@click="$router.push(`/validators`)"
>
<img src="/img/icons/arrow-icon.svg" />
<div style="width: 20px;display: inline-block"></div>
Back to Validators
<div style="display:flex; flex-direction:row; align-items: center;">
<i class="material-icons arrow">arrow_back</i>
<div style="width: 20px;display: inline-block;"></div>
Back to Validators
</div>
</button>
<div class="status-button-container">
<div class="status-container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ describe(`ActionModal`, () => {
new Error("some kind of error message")
)

ActionModal.methods.onSendingFailed.call(self, new Error("some kind of error message"))
ActionModal.methods.onSendingFailed.call(
self,
new Error("some kind of error message")
)
expect(self.submissionError).toEqual(`PREFIX: some kind of error message.`)
})

Expand Down

0 comments on commit 3bb6b07

Please sign in to comment.