File tree 2 files changed +21
-21
lines changed
2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 32
32
<!-- ===================================================================================== -->
33
33
<template #prepend-inner >
34
34
<div
35
- v-if =" !isValidAddress"
35
+ v-if =" !isValidAddress || !blockieHash "
36
36
class =" blockie-placeholder mr-1 selectHover"
37
37
/>
38
38
<mew-blockie
87
87
class =" dropdown-icon-container d-flex align-center justify-center cursor-pointer full-height"
88
88
@click =" toggle"
89
89
>
90
- <v-icon class =" mew-heading-1 mx-5" >
91
- mdi-chevron-down
92
- </v-icon >
90
+ <v-icon class =" mew-heading-1 mx-5" > mdi-chevron-down </v-icon >
93
91
</div >
94
92
</template >
95
93
115
113
v-if =" !item.resolvedAddr || item.resolvedAddr === ''"
116
114
:hash =" item.address"
117
115
/>
118
- <span
119
- v-else
120
- class =" mew-address"
121
- >{{ item.address }}</span >
116
+ <span v-else class =" mew-address" >{{ item.address }}</span >
122
117
</div >
123
118
<div class =" overline primary--text font-weight-medium ml-3" >
124
119
{{ item.nickname }}
@@ -255,6 +250,13 @@ export default {
255
250
errorMessages: {
256
251
type: [String , Array ],
257
252
default: ' '
253
+ },
254
+ /**
255
+ * Clear address
256
+ */
257
+ clearAddress: {
258
+ type: Boolean ,
259
+ default: false
258
260
}
259
261
},
260
262
data () {
@@ -287,10 +289,15 @@ export default {
287
289
: this .addressValue .address || this .addressValue ;
288
290
}
289
291
},
292
+ watch: {
293
+ clearAddress () {
294
+ this .clear ();
295
+ }
296
+ },
290
297
methods: {
291
298
/**
292
- * Clears the v-model value.
293
- */
299
+ * Clears the v-model value.
300
+ */
294
301
clear () {
295
302
this .addressValue = ' ' ;
296
303
},
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
3
<div
4
+ v-show =" address"
4
5
style =" position : relative "
5
6
:style =" `width: ${width}; height: ${height}`"
6
7
>
9
10
:src =" blockieImg"
10
11
alt =" Blockie Image"
11
12
style =" display : block ; border-radius : 50% "
12
- >
13
+ / >
13
14
14
15
<!--
15
16
=====================================================================
16
17
Inset shadow on edge of blockie image
17
18
=====================================================================
18
19
-->
19
- <div
20
- v-if =" !flat"
21
- class =" inset-shadow"
22
- />
20
+ <div v-if =" !flat" class =" inset-shadow" />
23
21
</div >
24
- <img
25
- v-if =" currency"
26
- alt =" icon"
27
- class =" currency-icon"
28
- :src =" currency"
29
- >
22
+ <img v-if =" currency" alt =" icon" class =" currency-icon" :src =" currency" />
30
23
</div >
31
24
</template >
32
25
You can’t perform that action at this time.
1 commit comments
github-actions[bot] commentedon Sep 29, 2022
Copy of this build can be found at
https://mewcomponents.mewbuilds.com/e53c161ea2e433b9cd1948aaf1763094856e8e05/index.html
https://www.cloudflare-ipfs.com/ipfs/
Virus Total analysis
https://www.virustotal.com/gui/file/5840e4a93685dfe9264a04fd4c9dff8f6829ecd1dfc5fa89b0b535bc38097a58