@@ -29,7 +29,8 @@ class Output extends Component<OutputProps, OutputState> {
2929
3030 this . state = {
3131 formatFull : false ,
32- isGenesis : ( this . isOutputResponse ( props . output ) ) ? props . output . messageId === "0" . repeat ( 64 ) : false ,
32+ isGenesis : ( this . isOutputResponse ( props . output ) )
33+ ? props . output . metadata . messageId === "0" . repeat ( 64 ) : false ,
3334 output : ( this . isOutputResponse ( props . output ) ) ? props . output . output : props . output ,
3435 showDetails : false
3536 } ;
@@ -94,16 +95,16 @@ class Output extends Component<OutputProps, OutputState> {
9495 < React . Fragment >
9596 < Link
9697 to = {
97- `/explorer/message/${ this . props . output . messageId } `
98+ `/explorer/message/${ this . props . output . metadata . messageId } `
9899 }
99100 className = "margin-r-t"
100101 >
101- { this . props . output . messageId }
102+ { this . props . output . metadata . messageId }
102103 </ Link >
103104 < MessageButton
104105 onClick = { ( ) => {
105106 if ( this . isOutputResponse ( this . props . output ) ) {
106- ClipboardHelper . copy ( this . props . output . messageId ) ;
107+ ClipboardHelper . copy ( this . props . output . metadata . messageId ) ;
107108 }
108109 } }
109110 buttonType = "copy"
@@ -122,12 +123,14 @@ class Output extends Component<OutputProps, OutputState> {
122123 { ! this . state . isGenesis && (
123124 < React . Fragment >
124125 < span className = "margin-r-t" >
125- { this . props . output . transactionId }
126+ { this . props . output . metadata . transactionId }
126127 </ span >
127128 < MessageButton
128129 onClick = { ( ) => {
129130 if ( this . isOutputResponse ( this . props . output ) ) {
130- ClipboardHelper . copy ( this . props . output . transactionId ) ;
131+ ClipboardHelper . copy (
132+ this . props . output . metadata . transactionId
133+ ) ;
131134 }
132135 } }
133136 buttonType = "copy"
@@ -140,13 +143,13 @@ class Output extends Component<OutputProps, OutputState> {
140143 Index
141144 </ div >
142145 < div className = "card--value" >
143- { this . props . output . outputIndex }
146+ { this . props . output . metadata . outputIndex }
144147 </ div >
145148 < div className = "card--label" >
146149 Is Spent
147150 </ div >
148151 < div className = "card--value" >
149- { this . props . output . isSpent ? "Yes" : "No" }
152+ { this . props . output . metadata . isSpent ? "Yes" : "No" }
150153 </ div >
151154 </ React . Fragment >
152155 ) }
@@ -205,12 +208,6 @@ class Output extends Component<OutputProps, OutputState> {
205208 < div className = "card--value row" >
206209 { this . state . output . serialNumber }
207210 </ div >
208- < div className = "card--label" >
209- Token tag:
210- </ div >
211- < div className = "card--value row" >
212- { this . state . output . tokenTag }
213- </ div >
214211 < div className = "card--label" >
215212 Token scheme type:
216213 </ div >
0 commit comments