File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,6 @@ impl Model {
114
114
</ul>
115
115
</>
116
116
} ,
117
- SolValue :: TypedObject ( name, _) => html ! {
118
- <>
119
- <p>{ "name" } </p>
120
- <p>{ name} </p>
121
- </>
122
- } ,
123
117
SolValue :: VectorObject ( _, name, _) => html ! {
124
118
<>
125
119
<p>{ "name" } </p>
@@ -161,6 +155,7 @@ impl Model {
161
155
SolValue :: XML ( content, string) => html ! {
162
156
<p>{ content } </p>
163
157
} ,
158
+ SolValue :: AMF3 ( e) => self . value_details ( e. clone ( ) ) ,
164
159
_ => html ! { } ,
165
160
}
166
161
}
@@ -208,16 +203,12 @@ impl Model {
208
203
209
204
fn view_sol_value ( & self , data : Element ) -> Html {
210
205
match data. borrow_mut ( ) . deref ( ) {
206
+ SolValue :: AMF3 ( e) => self . view_sol_value ( e. clone ( ) ) ,
211
207
SolValue :: Object ( elements, _class_def) => html ! {
212
208
<ul>
213
209
{ for elements. iter( ) . map( |e| self . view_sol_element( Box :: from( e. clone( ) ) ) ) }
214
210
</ul>
215
211
} ,
216
- SolValue :: TypedObject ( _name, elements) => html ! {
217
- <ul>
218
- { for elements. iter( ) . map( |e| self . view_sol_element( Box :: from( e. clone( ) ) ) ) }
219
- </ul>
220
- } ,
221
212
SolValue :: StrictArray ( x) => html ! {
222
213
<ul>
223
214
{ for x. iter( ) . enumerate( ) . map( |( i, v) | self . view_array_element( i, v) ) }
You can’t perform that action at this time.
0 commit comments