Skip to content

Commit 65a0630

Browse files
committed
[explorer] fix: lint fix
1 parent a27cb11 commit 65a0630

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/components/fields/MessageField.vue

+20-20
Original file line numberDiff line numberDiff line change
@@ -90,44 +90,44 @@ export default {
9090
},
9191
getMessage () {
9292
if (this.isViewAsUTF8) {
93-
return this.convertToUtf8(this.value.payload);
94-
}
95-
return this.value.payload;
93+
return this.convertToUtf8(this.value.payload);
94+
}
95+
return this.value.payload;
9696
},
9797
convertToUtf8 (payload) {
9898
if (this.isHexString) {
99-
const hexToUint8 = Convert.hexToUint8(payload);
100-
return new TextDecoder('utf-8').decode(hexToUint8);
101-
}
102-
return payload;
99+
const hexToUint8 = Convert.hexToUint8(payload);
100+
return new TextDecoder('utf-8').decode(hexToUint8);
101+
}
102+
return payload;
103103
}
104104
}
105105
};
106106
</script>
107107

108108
<style lang="scss" scoped>
109109
.hideContent {
110-
display: none;
110+
display: none;
111111
}
112112
113113
.overlay {
114-
text-align: center;
115-
position: absolute;
116-
color: var(--clickable-text);
117-
z-index: 999;
114+
text-align: center;
115+
position: absolute;
116+
color: var(--clickable-text);
117+
z-index: 999;
118118
119-
:hover > & {
120-
cursor: pointer;
121-
text-decoration: underline;
122-
}
119+
:hover > & {
120+
cursor: pointer;
121+
text-decoration: underline;
122+
}
123123
}
124124
125125
.viewOptions {
126126
display: flex;
127127
justify-content: center;
128128
margin-top: 10px;
129129
max-width: 150px;
130-
width: 100%;
130+
width: 100%;
131131
border-radius: 5px;
132132
border-width: 1px;
133133
border-style: solid;
@@ -137,9 +137,9 @@ export default {
137137
color: var(--clickable-text);
138138
139139
:hover > & {
140-
cursor: pointer;
141-
text-decoration: underline;
142-
}
140+
cursor: pointer;
141+
text-decoration: underline;
142+
}
143143
}
144144
145145
</style>

0 commit comments

Comments
 (0)