File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " reactgenie-lib" ,
3
- "version" : " 1.1.50 " ,
3
+ "version" : " 1.1.51 " ,
4
4
"description" : " A Toolkit for Multimodal Applications" ,
5
5
"author" : " valkjsaaa" ,
6
6
"license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change @@ -120,6 +120,12 @@ export interface GenieInterfaceSpec extends GenieObjectSpec {
120
120
}
121
121
122
122
export function InstantiateGenieObject ( objectSpec : GenieObjectSpec ) : any {
123
+ // check if localStore is a property of objectSpec
124
+ if ( Object . hasOwn ( objectSpec , "localStore" ) ) {
125
+ if ( objectSpec [ "localStore" ] [ "__genieObjectClass" ] == "HelperClass" ) {
126
+ return objectSpec ;
127
+ }
128
+ }
123
129
const objectClass = AllGenieObjects [ objectSpec . className ] as typeof DataClass ;
124
130
return objectClass . GetObject ( objectSpec . key ) ;
125
131
}
Original file line number Diff line number Diff line change @@ -203,11 +203,7 @@ export function displayResult(
203
203
let instantiatedDisplayingObject = null ;
204
204
if ( displayingObject != null ) {
205
205
// if displayingObject is an array
206
- if (
207
- displayingObject instanceof Array &&
208
- displayingObject . length >= 1 &&
209
- displayingObject [ 0 ] instanceof DataClass
210
- ) {
206
+ if ( displayingObject instanceof Array ) {
211
207
// always display
212
208
onScreen = false ;
213
209
instantiatedDisplayingObject = [ ] ;
You can’t perform that action at this time.
0 commit comments