Skip to content

Commit 26d56f0

Browse files
committedSep 6, 2022
Merge branch 'fix/mew-address-select-showing-wrong-identicon' of github.com:MyEtherWallet/mew-components into devop/mew-table-optional-explorers
2 parents 63c3f83 + e8d3068 commit 26d56f0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎src/components/MewAddressSelect/MewAddressSelect.vue

+7-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
:disabled="disabled"
1717
:error-messages="errorMessages"
1818
:hint="hint || resolvedAddr || ''"
19-
:persistent-hint="hint.length > 0 || resolvedAddr.length > 0"
19+
:persistent-hint="resolvedAddr.length > 0"
2020
:rules="rules"
2121
:no-data-text="noDataText"
2222
:menu-props="{ value: dropdown, closeOnClick: true }"
@@ -144,7 +144,7 @@ export default {
144144
},
145145
props: {
146146
/**
147-
* Text displayed under the input container.
147+
* Text displayed under the input container.
148148
*/
149149
hint: {
150150
type: String,
@@ -272,17 +272,20 @@ export default {
272272
* the blockie for the regular address value.
273273
*/
274274
blockieHash() {
275+
return this.addressValue.address || this.addressValue;
276+
/*
275277
return this.resolvedAddr.length > 0
276278
? this.resolvedAddr
277279
: this.addressValue.address
278280
? this.addressValue.address
279281
: this.addressValue;
282+
*/
280283
}
281284
},
282285
methods: {
283286
/**
284-
* Clears the v-model value.
285-
*/
287+
* Clears the v-model value.
288+
*/
286289
clear() {
287290
this.addressValue = '';
288291
},

0 commit comments

Comments
 (0)